mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
vimpager: supply runtimeShell to Makefile
Cross-compiles will otherwise detect an incorrect shell.
This commit is contained in:
parent
abc00fd6bd
commit
fda25f88d2
@ -2,6 +2,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, coreutils
|
, coreutils
|
||||||
, sharutils
|
, sharutils
|
||||||
|
, runtimeShell
|
||||||
, version
|
, version
|
||||||
, sha256
|
, sha256
|
||||||
}:
|
}:
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
{ callPackage }:
|
{ callPackage, runtimeShell }:
|
||||||
|
|
||||||
callPackage ./build.nix {
|
(callPackage ./build.nix {
|
||||||
version = "a4da4dfac44d1bbc6986c5c76fea45a60ebdd8e5";
|
version = "a4da4dfac44d1bbc6986c5c76fea45a60ebdd8e5";
|
||||||
sha256 = "0gcjpw2q263hh8w2sjvq3f3k2d28qpkkv0jnl8hw1l7v604i8zxg";
|
sha256 = "0gcjpw2q263hh8w2sjvq3f3k2d28qpkkv0jnl8hw1l7v604i8zxg";
|
||||||
}
|
}).overrideAttrs (old: {
|
||||||
|
postPatch = old.postPatch or "" + ''
|
||||||
|
echo 'echo ${runtimeShell}' > scripts/find_shell
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user