From 3f5ccfc7f30b6f3a2c3f85e00c102f17f3197d7f Mon Sep 17 00:00:00 2001 From: Alexander Ried Date: Fri, 29 Apr 2016 04:11:43 +0200 Subject: [PATCH] release.nix use makeBinPath to construct PATH makeBinPath takes care to use the correct output. nix-repl> lib.makeSearchPath "bin" [pkgs.nix] "/nix/store/zpp83pr21ihxwsr15l6mkzwkr49zj71d-nix-1.11.2-dev/bin" nix-repl> lib.makeBinPath [pkgs.nix] "/nix/store/9n8c3g541qn43yjjs94f1a0m69wp8scg-nix-1.11.2/bin" --- release.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.nix b/release.nix index 18a89f8b..85bfaa70 100644 --- a/release.nix +++ b/release.nix @@ -133,7 +133,7 @@ rec { })) ]; - hydraPath = lib.makeSearchPath "bin" ( + hydraPath = lib.makeBinPath ( [ libxslt sqlite subversion openssh nix coreutils findutils gzip bzip2 lzma gnutar unzip git gitAndTools.topGit mercurial darcs gnused bazaar ] ++ lib.optionals stdenv.isLinux [ rpm dpkg cdrkit ] );