mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-11 10:55:31 +03:00
move cargoSha256 to where we can override that when overriding nixpkgs
This commit is contained in:
parent
2c689298a8
commit
201ccd6a23
@ -4,6 +4,7 @@
|
||||
sha256 = "sha256:1mxv0zigm98pawf05kd4s8ipvk1pvvdsn1yh978c5an97kz0ck5w";
|
||||
},
|
||||
pkgs ? import nixpkgsSource { },
|
||||
cargoSha256 ? "sha256-treL2sWPcZ1NBwdab3FOb2FI2wT/Vt9tD4XRfJ8rYWA=",
|
||||
}:
|
||||
# we only this file to release a nix package, use flake.nix for development
|
||||
let
|
||||
@ -18,7 +19,7 @@ rustPlatform.buildRustPackage {
|
||||
|
||||
src = pkgs.nix-gitignore.gitignoreSource [] ./.;
|
||||
|
||||
cargoSha256 = "sha256-treL2sWPcZ1NBwdab3FOb2FI2wT/Vt9tD4XRfJ8rYWA=";
|
||||
inherit cargoSha256;
|
||||
|
||||
LLVM_SYS_130_PREFIX = "${llvmPkgs.llvm.dev}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user