3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #87575 from colemickens/nbu

nix-build-uncached: init at 0.1.1
This commit is contained in:
Jörg Thalheim 2020-05-18 11:26:02 +01:00 committed by GitHub
commit 62e866e4fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib, buildGoModule, fetchFromGitHub, nix, makeWrapper }:
buildGoModule rec {
pname = "nix-build-uncached";
version = "0.1.1";
src = fetchFromGitHub {
owner = "Mic92";
repo = "nix-build-uncached";
rev = "v${version}";
sha256 = "0jkpg3ab56lg2kdms9w9ka9ba89py3ajksjsi1rd3iqi74zz2mmh";
};
goPackagePath = "github.com/Mic92/nix-build-uncached";
vendorSha256 = null;
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;
homepage = "https://github.com/Mic92/nix-build-uncached";
maintainers = [ maintainers.mic92 ];
platforms = platforms.unix;
};
}

View file

@ -10676,6 +10676,8 @@ in
pythonPackages = python3Packages;
};
nix-build-uncached = callPackage ../development/tools/misc/nix-build-uncached { };
nexus = callPackage ../development/tools/repository-managers/nexus { };
nwjs = callPackage ../development/tools/nwjs {