Loading pkgs/by-name/xf/xfel/package.nix +9 −7 Original line number Diff line number Diff line Loading @@ -8,24 +8,26 @@ stdenv.mkDerivation (finalAttrs: { pname = "xfel"; version = "1.3.2"; version = "1.3.3"; src = fetchFromGitHub { owner = "xboot"; repo = "xfel"; tag = "v${finalAttrs.version}"; hash = "sha256-fmf+jqCWC7RaLknr/TyRV6VQz4+fp83ynHNk2ACkyfQ="; hash = "sha256-5Io2qOIeGovDpbxSlmqtGMrGMxUjMu/e1304euTEtJc="; }; postPatch = '' substituteInPlace Makefile \ --replace-fail "/usr/local" "$out" \ --replace-fail "/etc" "$out/etc" \ --replace-fail "/usr/share" "$out/share" ''; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libusb1 ]; makeFlags = [ "DESTDIR=$(out)" "PREFIX=/" ]; doInstallCheck = true; meta = { Loading Loading
pkgs/by-name/xf/xfel/package.nix +9 −7 Original line number Diff line number Diff line Loading @@ -8,24 +8,26 @@ stdenv.mkDerivation (finalAttrs: { pname = "xfel"; version = "1.3.2"; version = "1.3.3"; src = fetchFromGitHub { owner = "xboot"; repo = "xfel"; tag = "v${finalAttrs.version}"; hash = "sha256-fmf+jqCWC7RaLknr/TyRV6VQz4+fp83ynHNk2ACkyfQ="; hash = "sha256-5Io2qOIeGovDpbxSlmqtGMrGMxUjMu/e1304euTEtJc="; }; postPatch = '' substituteInPlace Makefile \ --replace-fail "/usr/local" "$out" \ --replace-fail "/etc" "$out/etc" \ --replace-fail "/usr/share" "$out/share" ''; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libusb1 ]; makeFlags = [ "DESTDIR=$(out)" "PREFIX=/" ]; doInstallCheck = true; meta = { Loading