diff options
author | Alan Pearce | 2024-05-20 23:12:08 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-20 23:12:08 +0200 |
commit | 319b79cd7d72c6a49137ef50fa06e807e7a89c2b (patch) | |
tree | c3ada2aed0c3bbf47bcbd59168989600c02c66aa | |
parent | 9c790c1c620e46ca8d2cf49c50951635621e9a7d (diff) | |
download | searchix-319b79cd7d72c6a49137ef50fa06e807e7a89c2b.tar.lz searchix-319b79cd7d72c6a49137ef50fa06e807e7a89c2b.tar.zst searchix-319b79cd7d72c6a49137ef50fa06e807e7a89c2b.zip |
build: fix `prepare` task not working after flake migration
-rw-r--r-- | flake.nix | 1 | ||||
-rw-r--r-- | justfile | 2 |
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 . |