Build Rust crate with Nix via crane sub-flake #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "ym/nix-haskell"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Move Rust build into its own flake at rust/flake.nix using crane, and
reference it as an input from the top-level flake. The Haskell build
gets the Rust artifacts (header + static lib) via a haskell.nix
override that symlinks them into place before configure.
Use Cabal's Cgarnet_rs naming convention for extra-bundled-libraries
to satisfy the shared library install phase naming requirements.
Also extract inputs.nix, default.nix, and shell.nix for flake-compat
(nix-build / nix-shell) support.
ebc582740btod9921b3bcfd9921b3bcftodd7bea6efdCheckout
From your project repository, check out a new branch and test the changes.