From 2f5277d92eca0b19096255a67c65bd4864ae54c1 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Wed, 26 Aug 2020 21:57:28 +0200 Subject: [PATCH] nix-build-uncached: remove the nix wrap (#96357) Nix is one of those few things where it's actually better to use the version that is on the host. This avoids having to deal with Nix compatibility issues, and download a second version of Nix on hosts like GitHub Actions. --- pkgs/development/tools/misc/nix-build-uncached/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/development/tools/misc/nix-build-uncached/default.nix b/pkgs/development/tools/misc/nix-build-uncached/default.nix index 9bff7acc81d..eca2dc96662 100644 --- a/pkgs/development/tools/misc/nix-build-uncached/default.nix +++ b/pkgs/development/tools/misc/nix-build-uncached/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub, nix, makeWrapper }: +{ lib, buildGoModule, fetchFromGitHub, makeWrapper }: buildGoModule rec { pname = "nix-build-uncached"; @@ -17,11 +17,6 @@ buildGoModule rec { nativeBuildInputs = [ makeWrapper ]; - postInstall = '' - wrapProgram $out/bin/nix-build-uncached \ - --prefix PATH ":" ${lib.makeBinPath [ nix ]} - ''; - meta = with lib; { description = "A CI friendly wrapper around nix-build"; license = licenses.mit;