.build.yml (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 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
|