firefox: wrapper updating an addon perserves addon settings
This commit is contained in:
@@ -1,16 +1,20 @@
|
||||
{stdenv, lib, coreutils, unzip, jq, zip, fetchurl,writeScript, ...}:
|
||||
{ name
|
||||
|
||||
{
|
||||
name
|
||||
, url
|
||||
, md5 ? ""
|
||||
, sha1 ? ""
|
||||
, sha256 ? ""
|
||||
, sha512 ? ""
|
||||
, fixedExtid ? null
|
||||
, hash ? ""
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
inherit name;
|
||||
extid = "${src.outputHash}@${name}";
|
||||
extid = if fixedExtid == null then "nixos@${name}" else fixedExtid;
|
||||
passthru = {
|
||||
exitd=extid;
|
||||
};
|
||||
@@ -35,4 +39,3 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
nativeBuildInputs = [ coreutils unzip zip jq ];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user