project-wide: nixdirfmt

This commit is contained in:
kat witch 2021-04-26 01:30:25 +01:00
parent aa1f72eeca
commit 53f9ff3730
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
12 changed files with 70 additions and 79 deletions

View file

@ -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 { };