vimpager: supply runtimeShell to Makefile

Cross-compiles will otherwise detect an incorrect shell.
This commit is contained in:
arcnmx 2021-09-17 22:15:44 -07:00
parent abc00fd6bd
commit fda25f88d2
2 changed files with 8 additions and 4 deletions

@ -2,6 +2,7 @@
, fetchFromGitHub
, coreutils
, sharutils
, runtimeShell
, version
, sha256
}:

@ -1,7 +1,10 @@
{ callPackage }:
{ callPackage, runtimeShell }:
callPackage ./build.nix {
(callPackage ./build.nix {
version = "a4da4dfac44d1bbc6986c5c76fea45a60ebdd8e5";
sha256 = "0gcjpw2q263hh8w2sjvq3f3k2d28qpkkv0jnl8hw1l7v604i8zxg";
}
}).overrideAttrs (old: {
postPatch = old.postPatch or "" + ''
echo 'echo ${runtimeShell}' > scripts/find_shell
'';
})