From 319b79cd7d72c6a49137ef50fa06e807e7a89c2b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 20 May 2024 23:12:08 +0200 Subject: build: fix `prepare` task not working after flake migration --- flake.nix | 1 + justfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 . -- cgit 1.4.1