nixos-facter: 0.2.0 -> 0.3.0 (#361564)
This commit is contained in:
@@ -69,6 +69,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
patchShebangs src/ids/convert_hd
|
||||
'';
|
||||
|
||||
outputs = [
|
||||
"bin"
|
||||
"dev"
|
||||
"lib"
|
||||
"out"
|
||||
];
|
||||
|
||||
# The pci/usb ids in hwinfo are ancient. We can get a more up-to-date list simply by copying from systemd
|
||||
preBuild = ''
|
||||
# since we don't have .git, we cannot run this.
|
||||
@@ -94,6 +101,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
enableParallelBuilding = false; # broken parallel dependencies
|
||||
|
||||
postInstall = ''
|
||||
moveToOutput bin "$bin"
|
||||
moveToOutput lib "$lib"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
version = testers.testVersion { package = finalAttrs.finalPackage; };
|
||||
|
||||
@@ -24,13 +24,13 @@ let
|
||||
in
|
||||
buildGoModule rec {
|
||||
pname = "nixos-facter";
|
||||
version = "0.2.0";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "numtide";
|
||||
repo = "nixos-facter";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Rird32KB+V1xGBZvrEaPDPOhl5YMClIljOLcFO/0vOU=";
|
||||
hash = "sha256-T7x9xU/Tr2BKfrHQHrP6Mm6rNUWYASjEPzHIKgyS7aE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-qDzd+aq08PN9kl1YkvNLGvWaFVh7xFXJhGdx/ELwYGY=";
|
||||
|
||||
Reference in New Issue
Block a user