fetchfirefoxaddon: make reproducible
This commit is contained in:
parent
3ed22708d0
commit
2e02abd798
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, jq
|
, jq
|
||||||
|
, strip-nondeterminism
|
||||||
, unzip
|
, unzip
|
||||||
, writeScript
|
, writeScript
|
||||||
, zip
|
, zip
|
||||||
|
@ -44,11 +45,13 @@ stdenv.mkDerivation {
|
||||||
echo "$NEW_MANIFEST" > "$out/$UUID/manifest.json"
|
echo "$NEW_MANIFEST" > "$out/$UUID/manifest.json"
|
||||||
cd "$out/$UUID"
|
cd "$out/$UUID"
|
||||||
zip -r -q -FS "$out/$UUID.xpi" *
|
zip -r -q -FS "$out/$UUID.xpi" *
|
||||||
|
strip-nondeterminism "$out/$UUID.xpi"
|
||||||
rm -r "$out/$UUID"
|
rm -r "$out/$UUID"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
jq
|
jq
|
||||||
|
strip-nondeterminism
|
||||||
unzip
|
unzip
|
||||||
zip
|
zip
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue