git.iko.soy/typeable/nixpkgs
on master help sign in
direnv: 2.25.1 -> 2.27.0 (#108125)
commit1996ff7d42735bd9f55f7315ffd293a814d37c3a authorJonas Chevalier <zimbatm@zimbatm.com> dateFri 1 Jan 2021, 16:39 (6 years ago) parent0587d51
1 file changed+5−12
pkgs/tools/misc/direnv/default.nix+5−12
pkgs/tools/misc/direnv/default.nix+5−12
@@ -2,36 +2,29 @@
22
33buildGoModule rec {
44 pname = "direnv";
5− version = "2.25.1";
6−
7− vendorSha256 = null;
5+ version = "2.27.0";
86
97 src = fetchFromGitHub {
108 owner = "direnv";
119 repo = "direnv";
1210 rev = "v${version}";
13− sha256 = "0bwr7zdzjm5p6bjyzafc2n57y83f0pv2bmj99rhi8f94hhfydlsf";
11+ sha256 = "05vvn59xd2q4yjizh5fprjib5xqq58by80d5avsm8nb1qxf383b1";
1412 };
1513
14+ vendorSha256 = "084x7d7sshcsyim76d6pl6127nlqacgwwnm965srl9y5w5nqzba6";
15+
1616 # we have no bash at the moment for windows
1717 BASH_PATH =
1818 stdenv.lib.optionalString (!stdenv.hostPlatform.isWindows)
1919 "${bash}/bin/bash";
2020
21− # fix hardcoded GOFLAGS in makefile. remove once https://github.com/direnv/direnv/issues/718 is closed.
22− postPatch = ''
23− substituteInPlace GNUmakefile --replace "export GOFLAGS=-mod=vendor" ""
24− '';
25−
2621 # replace the build phase to use the GNUMakefile instead
2722 buildPhase = ''
2823 make BASH_PATH=$BASH_PATH
2924 '';
3025
3126 installPhase = ''
32− make install DESTDIR=$out
33− mkdir -p $out/share/fish/vendor_conf.d
34− echo "eval ($out/bin/direnv hook fish)" > $out/share/fish/vendor_conf.d/direnv.fish
27+ make install PREFIX=$out
3528 '';
3629
3730 checkInputs = [ fish zsh ];