From 8f829f172b670702cebcbc8dac62271ba98a94c6 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Wed, 16 Nov 2022 00:32:50 +0100 Subject: clean css with uncss at build time --- pkgs/default.nix | 5 +++-- pkgs/line-awesome-css.nix | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'pkgs') 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 { -- cgit v1.2.3