diff options
| -rw-r--r-- | .build.yml | 20 | ||||
| -rw-r--r-- | flake.nix | 2 |
2 files changed, 21 insertions, 1 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..9556f0a --- /dev/null +++ b/.build.yml @@ -0,0 +1,20 @@ +#image: alpine/3.22 +image: debian/bookworm +packages: + - nix +# - hut not available on bookworm, only trixie (and alpine) +environment: + NIX_CONFIG: "experimental-features = nix-command flakes" +sources: + - https://git.sr.ht/~trygvis/personal-2025-07-constance-ring +tasks: + - setup: | + sudo adduser $USER nix-users # debian + # sudo usermod -aG nix $USER # alpine + - build: | + cd personal-2025-07-constance-ring + cp constance-ring.epub constance-ring.epub.orig + nix develop -c make +# - diff: | +# cd personal-2025-07-constance-ring +# nix develop -c diffoscope constance-ring.epub{.orig,} @@ -5,7 +5,7 @@ let pkgs = import nixpkgs { system = "x86_64-linux"; }; in { - devShells."x86_64-linux".ci = with pkgs; mkShell { + devShells."x86_64-linux".default = with pkgs; mkShell { buildInputs = [ pandoc hunspell |
