mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
project-wide: nixdirfmt
This commit is contained in:
parent
aa1f72eeca
commit
53f9ff3730
12 changed files with 70 additions and 79 deletions
|
|
@ -30,23 +30,23 @@ let
|
|||
|
||||
screenstub = unstable.callPackage ./screenstub { };
|
||||
|
||||
buildFirefoxXpiAddon = { pname, version, addonId, url, sha256, meta, ... }:
|
||||
buildFirefoxXpiAddon = { pname, version, addonId, url, sha256, meta, ... }:
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "${pname}-${version}";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
inherit meta;
|
||||
inherit meta;
|
||||
|
||||
src = builtins.fetchurl { inherit url sha256; };
|
||||
src = builtins.fetchurl { inherit url sha256; };
|
||||
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
|
||||
buildCommand = ''
|
||||
dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||
mkdir -p "$dst"
|
||||
install -v -m644 "$src" "$dst/${addonId}.xpi"
|
||||
'';
|
||||
};
|
||||
buildCommand = ''
|
||||
dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||
mkdir -p "$dst"
|
||||
install -v -m644 "$src" "$dst/${addonId}.xpi"
|
||||
'';
|
||||
};
|
||||
|
||||
ff-sponsorblock = super.callPackage ./ff-sponsorblock { };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue