diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-11-16 00:32:50 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-11-16 00:32:50 +0100 |
| commit | 8f829f172b670702cebcbc8dac62271ba98a94c6 (patch) | |
| tree | b01fddeaed96f23a97b24ded91cd204b822c02b7 /pkgs | |
| parent | 8d45a910b271cf6bfa26c0ed4007392635866dc8 (diff) | |
clean css with uncss at build time
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/default.nix | 5 | ||||
| -rw-r--r-- | pkgs/line-awesome-css.nix | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index af2ab5e..5f8048d 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -1,5 +1,6 @@ -{ pkgs }: +{ pkgs, system ? builtins.currentSystem }: { - line-awesome-css = pkgs.callPackage ./line-awesome-css.nix {}; + line-awesome-css = pkgs.callPackage ./line-awesome-css.nix { }; + # uncss = (import ./uncss { inherit pkgs system; }).package; } diff --git a/pkgs/line-awesome-css.nix b/pkgs/line-awesome-css.nix index a00e128..0da29ac 100644 --- a/pkgs/line-awesome-css.nix +++ b/pkgs/line-awesome-css.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, fontsRelativeDirectory ? "./webfonts" }: stdenv.mkDerivation rec { - name = "line-awesome-css"; + name = "line-awesome.css"; version = "v1.2.1"; src = fetchurl { |
