about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-10 15:48:07 +0200
committerAlan Pearce2024-05-10 15:48:07 +0200
commit39c225651ab8a4a266f9d6fd120c744ebe9af444 (patch)
tree16f82b71c6fbb1e469ce6b134a23e7350c96e713
parent6e56758489f421106a9388aa8c1773436d2bfef5 (diff)
downloadnix-packages-39c225651ab8a4a266f9d6fd120c744ebe9af444.tar.lz
nix-packages-39c225651ab8a4a266f9d6fd120c744ebe9af444.tar.zst
nix-packages-39c225651ab8a4a266f9d6fd120c744ebe9af444.zip
add build manifest for builds.sr.ht
-rw-r--r--.build.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..d203753
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,13 @@
+image: nixos/unstable
+sources:
+  - https://git.alanpearce.eu/nix-packages
+environment:
+  NIX_CONFIG: "experimental-features = nix-command flakes"
+repositories:
+  nixpkgs: https://nixos.org/channels/nixpkgs-unstable
+tasks:
+  - nixpkgs: |
+      nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
+
+  - build: |
+      nix shell -f '<nixpkgs>' nix-build-uncached -c nix-build-uncached nix-packages/ci.nix -A cacheOutputs