Modular, context-aware and aspect-oriented dendritic Nix configurations. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ den.oeiuwq.com
configurations den dendritic nix aspect oriented
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

test other templates (#53)

authored by

Victor Borja and committed by
GitHub
029568fd e4a7c7c8

+9 -11
+9 -11
.github/workflows/test.yml
··· 16 16 strategy: 17 17 matrix: 18 18 os: [ubuntu-latest, macos-latest] 19 - template: [default] 19 + template: [default, bogus, minimal] 20 20 name: Check template ${{matrix.template}} ${{matrix.os}} 21 21 runs-on: ${{matrix.os}} 22 22 steps: ··· 24 24 if: matrix.os == 'ubuntu-latest' 25 25 - uses: DeterminateSystems/nix-installer-action@main 26 26 - uses: DeterminateSystems/magic-nix-cache-action@main 27 + - run: nix flake init -t github:$GITHUB_REPOSITORY/$GITHUB_SHA#${{matrix.template}} 27 28 - run: | 28 - set -uveo pipefail 29 - mkdir templated; cd templated 30 - nix flake init -t github:$GITHUB_REPOSITORY/$GITHUB_SHA#default 31 29 cat <<-EOF > modules/ci-runtime.nix 30 + { lib, ... }: 32 31 { 33 - flake-file.inputs.den.url = "github:$GITHUB_REPOSITORY/$GITHUB_SHA"; 34 - _module.args.ci-os = "${{matrix.os}}"; 32 + flake-file.inputs.den.url = lib.mkForce "github:$GITHUB_REPOSITORY/$GITHUB_SHA"; 35 33 } 36 34 EOF 37 - nix run .#write-flake --override-input den "github:$GITHUB_REPOSITORY/$GITHUB_SHA" 38 - nix flake update den 39 - nix run .#write-flake 40 - nix flake metadata 41 - nix flake check 35 + - run: nix run .#write-flake --override-input den "github:$GITHUB_REPOSITORY/$GITHUB_SHA" 36 + - run: nix flake update den 37 + - run: nix run .#write-flake 38 + - run: nix flake metadata 39 + - run: nix flake check