about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--flake.nix1
-rw-r--r--justfile2
2 files changed, 2 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index c0df6bf..87b1643 100644
--- a/flake.nix
+++ b/flake.nix
@@ -42,6 +42,7 @@
           callPackage = pkgs.darwin.apple_sdk_11_0.callPackage or pkgs.callPackage;
         in
         rec {
+          packages.css = "${simple-css}";
           packages.default = callPackage ./nix/package.nix {
             inherit (gomod2nix.legacyPackages.${system}) buildGoApplication;
             inherit self;
diff --git a/justfile b/justfile
index 1295f29..3e63590 100644
--- a/justfile
+++ b/justfile
@@ -2,7 +2,7 @@ default:
 	@just --list --justfile {{ justfile() }} --unsorted
 
 prepare:
-	ln -sf $(nix-build --no-out-link -A css) frontend/static/base.css
+	nix build .#css -o frontend/static/base.css
 
 checkformat:
 	gofmt -d .