nixos-anywhere: 1.4.0 -> 1.5.0, nixos-facter: 0.1.1 -> 0.2.0 (#354477)
This commit is contained in:
commit
2789dcaea5
@ -30,12 +30,12 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "nixos-anywhere";
|
pname = "nixos-anywhere";
|
||||||
version = "1.4.0";
|
version = "1.5.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nix-community";
|
owner = "nix-community";
|
||||||
repo = "nixos-anywhere";
|
repo = "nixos-anywhere";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-ssx6Y665uoOO3PX6Mp9NAF8sqoGb7Ezfw+bTY69aGlE=";
|
hash = "sha256-LrCxIU6laEf4JD1QtOBNr+PASY6CbNPpUrjLIUizt+Y=";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
util-linux,
|
util-linux,
|
||||||
pciutils,
|
pciutils,
|
||||||
stdenv,
|
stdenv,
|
||||||
|
systemdMinimal,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
# We are waiting on some changes to be merged upstream: https://github.com/openSUSE/hwinfo/pulls
|
# We are waiting on some changes to be merged upstream: https://github.com/openSUSE/hwinfo/pulls
|
||||||
@ -16,23 +17,23 @@ let
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "numtide";
|
owner = "numtide";
|
||||||
repo = "hwinfo";
|
repo = "hwinfo";
|
||||||
rev = "a559f34934098d54096ed2078e750a8245ae4044";
|
rev = "c2259845d10694c099fb306a8cfc5a403e71c708";
|
||||||
hash = "sha256-3abkWPr98qXXQ17r1Z43gh2M5hl/DHjW2hfeWl+GSAs=";
|
hash = "sha256-RGIoJkYiNMRHwUclzdRMELxCgBU9Pfvaghvt3op0zM0=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "nixos-facter";
|
pname = "nixos-facter";
|
||||||
version = "0.1.1";
|
version = "0.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "numtide";
|
owner = "numtide";
|
||||||
repo = "nixos-facter";
|
repo = "nixos-facter";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-vlPmvCrgX64dcf//BPtQszBt7dkq35JpgQg+/LW0AqM=";
|
hash = "sha256-Rird32KB+V1xGBZvrEaPDPOhl5YMClIljOLcFO/0vOU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-5leiTNp3FJmgFd0SKhu18hxYZ2G9SuQPhZJjki2SDVs=";
|
vendorHash = "sha256-qDzd+aq08PN9kl1YkvNLGvWaFVh7xFXJhGdx/ELwYGY=";
|
||||||
|
|
||||||
CGO_ENABLED = 1;
|
CGO_ENABLED = 1;
|
||||||
|
|
||||||
@ -50,6 +51,7 @@ buildGoModule rec {
|
|||||||
libusb1
|
libusb1
|
||||||
util-linux
|
util-linux
|
||||||
pciutils
|
pciutils
|
||||||
|
systemdMinimal
|
||||||
];
|
];
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
|
Loading…
Reference in New Issue
Block a user