vimpager: supply runtimeShell to Makefile

Cross-compiles will otherwise detect an incorrect shell.
main
arcnmx 3 years ago
parent abc00fd6bd
commit fda25f88d2
  1. 1
      pkgs/tools/misc/vimpager/build.nix
  2. 11
      pkgs/tools/misc/vimpager/latest.nix

@ -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
'';
})

Loading…
Cancel
Save