lol

vimpager: supply runtimeShell to Makefile

Cross-compiles will otherwise detect an incorrect shell.

arcnmx fda25f88 abc00fd6

+8 -4
+1
pkgs/tools/misc/vimpager/build.nix
··· 2 2 , fetchFromGitHub 3 3 , coreutils 4 4 , sharutils 5 + , runtimeShell 5 6 , version 6 7 , sha256 7 8 }:
+7 -4
pkgs/tools/misc/vimpager/latest.nix
··· 1 - { callPackage }: 1 + { callPackage, runtimeShell }: 2 2 3 - callPackage ./build.nix { 3 + (callPackage ./build.nix { 4 4 version = "a4da4dfac44d1bbc6986c5c76fea45a60ebdd8e5"; 5 5 sha256 = "0gcjpw2q263hh8w2sjvq3f3k2d28qpkkv0jnl8hw1l7v604i8zxg"; 6 - } 7 - 6 + }).overrideAttrs (old: { 7 + postPatch = old.postPatch or "" + '' 8 + echo 'echo ${runtimeShell}' > scripts/find_shell 9 + ''; 10 + })