diff --git a/.github/workflows/auto-ci-builds.yml b/.github/workflows/auto-ci-builds.yml index 20dff15f..93646853 100644 --- a/.github/workflows/auto-ci-builds.yml +++ b/.github/workflows/auto-ci-builds.yml @@ -331,6 +331,27 @@ jobs: run: | dpkg-buildpackage -us -uc -rfakeroot --build=binary + build_nix_NixOS-stable-23.11: + runs-on: ubuntu-latest + container: nixos/nix + steps: + - uses: actions/checkout@v1 + - name: check Nix version + run: | + nix --version + nix-channel --list + - name: switch to stable channel + run: | + nix-channel --remove nixos + nix-channel --add https://nixos.org/channels/nixos-23.11 nixos + - name: list and update channel + run: | + nix-channel --list + nix-channel --update + - name: build nix pkg + run: | + nix-build --expr 'let pkgs = import { }; in pkgs.callPackage ./nix/default.nix { gitBranch = "${{ github.ref_name }}"; }' + build_nix_NixOS-unstable: runs-on: ubuntu-latest container: nixos/nix