mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
fetchfirefoxaddon: make reproducible
This commit is contained in:
parent
3ed22708d0
commit
2e02abd798
@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, jq
|
||||
, strip-nondeterminism
|
||||
, unzip
|
||||
, writeScript
|
||||
, zip
|
||||
@ -44,11 +45,13 @@ 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 = [
|
||||
jq
|
||||
strip-nondeterminism
|
||||
unzip
|
||||
zip
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user