chore: manage simple.css with nix flake commands
2 files changed, 12 insertions(+), 8 deletions(-)
changed files
M flake.lock → flake.lock
@@ -145,13 +145,17 @@ }, "simple-css": { "flake": false, "locked": { - "narHash": "sha256-HUsHNAzjIxnM/octNykCIHSL1pq5MircDf+aJLEeO9s=", - "type": "file", - "url": "https://raw.githubusercontent.com/kevquirk/simple.css/v2.3.7/simple.css" + "lastModified": 1754922658, + "narHash": "sha256-2v4Znz5lvyM7LWYVRlLUzzW8QB6se+eIYOJnuLYtx9Q=", + "owner": "kevquirk", + "repo": "simple.css", + "rev": "2c23642b9751922b80a80239910f2c11af52e716", + "type": "github" }, "original": { - "type": "file", - "url": "https://raw.githubusercontent.com/kevquirk/simple.css/v2.3.7/simple.css" + "owner": "kevquirk", + "repo": "simple.css", + "type": "github" } }, "systems": {
M flake.nix → flake.nix
@@ -17,7 +17,7 @@ }; }; treefmt-nix.url = "github:numtide/treefmt-nix"; simple-css = { - url = "https://raw.githubusercontent.com/kevquirk/simple.css/v2.3.7/simple.css"; + url = "github:kevquirk/simple.css"; flake = false; }; };@@ -68,10 +68,10 @@ }; }; in rec { - packages.css = pkgs.concatText "simple.css" [ simple-css ]; + packages.css = pkgs.concatText "simple.css" [ "${simple-css}/simple.css" ]; packages.default = pkgs.callPackage ./nix/package.nix { inherit (gomod2nix.legacyPackages.${system}) buildGoApplication; - css = simple-css; + css = "${simple-css}/simple.css"; }; formatter = treefmtEval.config.build.wrapper; devShells.default = pkgs.callPackage ./nix/dev-shell.nix {