mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
fda25f88d2
Cross-compiles will otherwise detect an incorrect shell.
11 lines
309 B
Nix
11 lines
309 B
Nix
{ callPackage, runtimeShell }:
|
|
|
|
(callPackage ./build.nix {
|
|
version = "a4da4dfac44d1bbc6986c5c76fea45a60ebdd8e5";
|
|
sha256 = "0gcjpw2q263hh8w2sjvq3f3k2d28qpkkv0jnl8hw1l7v604i8zxg";
|
|
}).overrideAttrs (old: {
|
|
postPatch = old.postPatch or "" + ''
|
|
echo 'echo ${runtimeShell}' > scripts/find_shell
|
|
'';
|
|
})
|