Loading pkgs/applications/blockchains/bisq-desktop/default.nix +12 −2 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ , dpkg , writeScript , bash , strip-nondeterminism , tor , zip , xz Loading Loading @@ -41,7 +42,15 @@ stdenv.mkDerivation rec { sha256 = "0jisxzajsc4wfvxabvfzd0x9y1fxzg39fkhap1781q7wyi4ry9kd"; }; nativeBuildInputs = [ makeWrapper copyDesktopItems imagemagick dpkg zip xz ]; nativeBuildInputs = [ copyDesktopItems dpkg imagemagick makeWrapper strip-nondeterminism xz zip ]; desktopItems = [ (makeDesktopItem { Loading @@ -64,8 +73,9 @@ stdenv.mkDerivation rec { mkdir -p native/linux/x64/ cp ${bisq-tor} ./tor tar -cJf native/linux/x64/tor.tar.xz tor tar --sort=name --mtime="@$SOURCE_DATE_EPOCH" -cJf native/linux/x64/tor.tar.xz tor zip -r opt/bisq/lib/app/desktop-${version}-all.jar native strip-nondeterminism opt/bisq/lib/app/desktop-${version}-all.jar ''; installPhase = '' Loading pkgs/applications/emulators/pcsx2/default.nix +9 −1 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ , rapidyaml , SDL2 , soundtouch , strip-nondeterminism , vulkan-headers , vulkan-loader , wayland Loading Loading @@ -58,7 +59,13 @@ stdenv.mkDerivation rec { "-DDISABLE_BUILD_DATE=TRUE" ]; nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook zip ]; nativeBuildInputs = [ cmake pkg-config strip-nondeterminism wrapQtAppsHook zip ]; buildInputs = [ curl Loading Loading @@ -95,6 +102,7 @@ stdenv.mkDerivation rec { install -Dm644 $src/.github/workflows/scripts/linux/pcsx2-qt.desktop $out/share/applications/PCSX2.desktop zip -jq $out/bin/resources/patches.zip ${pcsx2_patches}/patches/* strip-nondeterminism $out/bin/resources/patches.zip ''; qtWrapperArgs = [ Loading pkgs/build-support/fetchfirefoxaddon/default.nix +19 −5 Original line number Diff line number Diff line {stdenv, unzip, jq, zip, fetchurl,writeScript, ...}: { stdenv , fetchurl , jq , strip-nondeterminism , unzip , writeScript , zip }: { name { name , url ? null , md5 ? "" , sha1 ? "" Loading @@ -14,7 +20,8 @@ let extid = if fixedExtid == null then "nixos@${name}" else fixedExtid; source = if url == null then src else fetchurl { source = if url == null then src else fetchurl { url = url; inherit md5 sha1 sha256 sha512 hash; }; Loading @@ -38,7 +45,14 @@ stdenv.mkDerivation { echo "$NEW_MANIFEST" > "$out/$UUID/manifest.json" cd "$out/$UUID" zip -r -q -FS "$out/$UUID.xpi" * strip-nondeterminism "$out/$UUID.xpi" rm -r "$out/$UUID" ''; nativeBuildInputs = [ unzip zip jq ]; nativeBuildInputs = [ jq strip-nondeterminism unzip zip ]; } pkgs/development/tools/slimerjs/default.nix +14 −2 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, zip, unzip, firefox, bash }: { lib , bash , fetchFromGitHub , firefox , strip-nondeterminism , stdenv , unzip , zip }: stdenv.mkDerivation rec { pname = "slimerjs"; Loading @@ -12,7 +20,10 @@ stdenv.mkDerivation rec { }; buildInputs = [ zip ]; nativeBuildInputs = [ unzip ]; nativeBuildInputs = [ strip-nondeterminism unzip ]; preConfigure = '' test -d src && cd src Loading @@ -20,6 +31,7 @@ stdenv.mkDerivation rec { ''; installPhase = '' strip-nondeterminism --type zip omni.ja mkdir -p "$out"/{bin,share/doc/slimerjs,lib/slimerjs} cp LICENSE README* "$out/share/doc/slimerjs" cp -r * "$out/lib/slimerjs" Loading pkgs/games/mari0/default.nix +17 −3 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, zip, love, makeWrapper, makeDesktopItem , copyDesktopItems }: { lib , copyDesktopItems , fetchFromGitHub , love , makeDesktopItem , makeWrapper , stdenv , strip-nondeterminism , zip }: stdenv.mkDerivation rec { pname = "mari0"; Loading @@ -12,7 +20,12 @@ stdenv.mkDerivation rec { sha256 = "1zqaq4w599scsjvy1rsb21fd2r8j3srx9vym4ir9bh666dp36gxa"; }; nativeBuildInputs = [ makeWrapper copyDesktopItems zip ]; nativeBuildInputs = [ copyDesktopItems makeWrapper strip-nondeterminism zip ]; desktopItems = [ (makeDesktopItem { Loading @@ -28,6 +41,7 @@ stdenv.mkDerivation rec { installPhase = '' runHook preInstall zip -9 -r mari0.love ./* strip-nondeterminism --type zip mari0.love install -Dm444 -t $out/share/games/lovegames/ mari0.love makeWrapper ${love}/bin/love $out/bin/mari0 \ --add-flags $out/share/games/lovegames/mari0.love Loading Loading
pkgs/applications/blockchains/bisq-desktop/default.nix +12 −2 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ , dpkg , writeScript , bash , strip-nondeterminism , tor , zip , xz Loading Loading @@ -41,7 +42,15 @@ stdenv.mkDerivation rec { sha256 = "0jisxzajsc4wfvxabvfzd0x9y1fxzg39fkhap1781q7wyi4ry9kd"; }; nativeBuildInputs = [ makeWrapper copyDesktopItems imagemagick dpkg zip xz ]; nativeBuildInputs = [ copyDesktopItems dpkg imagemagick makeWrapper strip-nondeterminism xz zip ]; desktopItems = [ (makeDesktopItem { Loading @@ -64,8 +73,9 @@ stdenv.mkDerivation rec { mkdir -p native/linux/x64/ cp ${bisq-tor} ./tor tar -cJf native/linux/x64/tor.tar.xz tor tar --sort=name --mtime="@$SOURCE_DATE_EPOCH" -cJf native/linux/x64/tor.tar.xz tor zip -r opt/bisq/lib/app/desktop-${version}-all.jar native strip-nondeterminism opt/bisq/lib/app/desktop-${version}-all.jar ''; installPhase = '' Loading
pkgs/applications/emulators/pcsx2/default.nix +9 −1 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ , rapidyaml , SDL2 , soundtouch , strip-nondeterminism , vulkan-headers , vulkan-loader , wayland Loading Loading @@ -58,7 +59,13 @@ stdenv.mkDerivation rec { "-DDISABLE_BUILD_DATE=TRUE" ]; nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook zip ]; nativeBuildInputs = [ cmake pkg-config strip-nondeterminism wrapQtAppsHook zip ]; buildInputs = [ curl Loading Loading @@ -95,6 +102,7 @@ stdenv.mkDerivation rec { install -Dm644 $src/.github/workflows/scripts/linux/pcsx2-qt.desktop $out/share/applications/PCSX2.desktop zip -jq $out/bin/resources/patches.zip ${pcsx2_patches}/patches/* strip-nondeterminism $out/bin/resources/patches.zip ''; qtWrapperArgs = [ Loading
pkgs/build-support/fetchfirefoxaddon/default.nix +19 −5 Original line number Diff line number Diff line {stdenv, unzip, jq, zip, fetchurl,writeScript, ...}: { stdenv , fetchurl , jq , strip-nondeterminism , unzip , writeScript , zip }: { name { name , url ? null , md5 ? "" , sha1 ? "" Loading @@ -14,7 +20,8 @@ let extid = if fixedExtid == null then "nixos@${name}" else fixedExtid; source = if url == null then src else fetchurl { source = if url == null then src else fetchurl { url = url; inherit md5 sha1 sha256 sha512 hash; }; Loading @@ -38,7 +45,14 @@ stdenv.mkDerivation { echo "$NEW_MANIFEST" > "$out/$UUID/manifest.json" cd "$out/$UUID" zip -r -q -FS "$out/$UUID.xpi" * strip-nondeterminism "$out/$UUID.xpi" rm -r "$out/$UUID" ''; nativeBuildInputs = [ unzip zip jq ]; nativeBuildInputs = [ jq strip-nondeterminism unzip zip ]; }
pkgs/development/tools/slimerjs/default.nix +14 −2 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, zip, unzip, firefox, bash }: { lib , bash , fetchFromGitHub , firefox , strip-nondeterminism , stdenv , unzip , zip }: stdenv.mkDerivation rec { pname = "slimerjs"; Loading @@ -12,7 +20,10 @@ stdenv.mkDerivation rec { }; buildInputs = [ zip ]; nativeBuildInputs = [ unzip ]; nativeBuildInputs = [ strip-nondeterminism unzip ]; preConfigure = '' test -d src && cd src Loading @@ -20,6 +31,7 @@ stdenv.mkDerivation rec { ''; installPhase = '' strip-nondeterminism --type zip omni.ja mkdir -p "$out"/{bin,share/doc/slimerjs,lib/slimerjs} cp LICENSE README* "$out/share/doc/slimerjs" cp -r * "$out/lib/slimerjs" Loading
pkgs/games/mari0/default.nix +17 −3 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, zip, love, makeWrapper, makeDesktopItem , copyDesktopItems }: { lib , copyDesktopItems , fetchFromGitHub , love , makeDesktopItem , makeWrapper , stdenv , strip-nondeterminism , zip }: stdenv.mkDerivation rec { pname = "mari0"; Loading @@ -12,7 +20,12 @@ stdenv.mkDerivation rec { sha256 = "1zqaq4w599scsjvy1rsb21fd2r8j3srx9vym4ir9bh666dp36gxa"; }; nativeBuildInputs = [ makeWrapper copyDesktopItems zip ]; nativeBuildInputs = [ copyDesktopItems makeWrapper strip-nondeterminism zip ]; desktopItems = [ (makeDesktopItem { Loading @@ -28,6 +41,7 @@ stdenv.mkDerivation rec { installPhase = '' runHook preInstall zip -9 -r mari0.love ./* strip-nondeterminism --type zip mari0.love install -Dm444 -t $out/share/games/lovegames/ mari0.love makeWrapper ${love}/bin/love $out/bin/mari0 \ --add-flags $out/share/games/lovegames/mari0.love Loading