Unverified Commit 2789dcae authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

nixos-anywhere: 1.4.0 -> 1.5.0, nixos-facter: 0.1.1 -> 0.2.0 (#354477)

parents c9dc6abd 61e6b1f5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -30,12 +30,12 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "nixos-anywhere";
  version = "1.4.0";
  version = "1.5.0";
  src = fetchFromGitHub {
    owner = "nix-community";
    repo = "nixos-anywhere";
    rev = finalAttrs.version;
    hash = "sha256-ssx6Y665uoOO3PX6Mp9NAF8sqoGb7Ezfw+bTY69aGlE=";
    hash = "sha256-LrCxIU6laEf4JD1QtOBNr+PASY6CbNPpUrjLIUizt+Y=";
  };
  nativeBuildInputs = [ makeWrapper ];
  installPhase = ''
+7 −5
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
  util-linux,
  pciutils,
  stdenv,
  systemdMinimal,
}:
let
  # We are waiting on some changes to be merged upstream: https://github.com/openSUSE/hwinfo/pulls
@@ -16,23 +17,23 @@ let
    src = fetchFromGitHub {
      owner = "numtide";
      repo = "hwinfo";
      rev = "a559f34934098d54096ed2078e750a8245ae4044";
      hash = "sha256-3abkWPr98qXXQ17r1Z43gh2M5hl/DHjW2hfeWl+GSAs=";
      rev = "c2259845d10694c099fb306a8cfc5a403e71c708";
      hash = "sha256-RGIoJkYiNMRHwUclzdRMELxCgBU9Pfvaghvt3op0zM0=";
    };
  };
in
buildGoModule rec {
  pname = "nixos-facter";
  version = "0.1.1";
  version = "0.2.0";

  src = fetchFromGitHub {
    owner = "numtide";
    repo = "nixos-facter";
    rev = "v${version}";
    hash = "sha256-vlPmvCrgX64dcf//BPtQszBt7dkq35JpgQg+/LW0AqM=";
    hash = "sha256-Rird32KB+V1xGBZvrEaPDPOhl5YMClIljOLcFO/0vOU=";
  };

  vendorHash = "sha256-5leiTNp3FJmgFd0SKhu18hxYZ2G9SuQPhZJjki2SDVs=";
  vendorHash = "sha256-qDzd+aq08PN9kl1YkvNLGvWaFVh7xFXJhGdx/ELwYGY=";

  CGO_ENABLED = 1;

@@ -50,6 +51,7 @@ buildGoModule rec {
    libusb1
    util-linux
    pciutils
    systemdMinimal
  ];

  ldflags = [