mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
move cargoSha256 to where we can override that when overriding nixpkgs
This commit is contained in:
parent
2c689298a8
commit
201ccd6a23
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
sha256 = "sha256:1mxv0zigm98pawf05kd4s8ipvk1pvvdsn1yh978c5an97kz0ck5w";
|
sha256 = "sha256:1mxv0zigm98pawf05kd4s8ipvk1pvvdsn1yh978c5an97kz0ck5w";
|
||||||
},
|
},
|
||||||
pkgs ? import nixpkgsSource { },
|
pkgs ? import nixpkgsSource { },
|
||||||
|
cargoSha256 ? "sha256-treL2sWPcZ1NBwdab3FOb2FI2wT/Vt9tD4XRfJ8rYWA=",
|
||||||
}:
|
}:
|
||||||
# we only this file to release a nix package, use flake.nix for development
|
# we only this file to release a nix package, use flake.nix for development
|
||||||
let
|
let
|
||||||
|
@ -18,7 +19,7 @@ rustPlatform.buildRustPackage {
|
||||||
|
|
||||||
src = pkgs.nix-gitignore.gitignoreSource [] ./.;
|
src = pkgs.nix-gitignore.gitignoreSource [] ./.;
|
||||||
|
|
||||||
cargoSha256 = "sha256-treL2sWPcZ1NBwdab3FOb2FI2wT/Vt9tD4XRfJ8rYWA=";
|
inherit cargoSha256;
|
||||||
|
|
||||||
LLVM_SYS_130_PREFIX = "${llvmPkgs.llvm.dev}";
|
LLVM_SYS_130_PREFIX = "${llvmPkgs.llvm.dev}";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue