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.
This commit is contained in:
zimbatm 2020-08-26 21:57:28 +02:00 committed by GitHub
parent 272c2201dc
commit 2f5277d92e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;