diff --git a/.forgejo/workflows/update-npins-sources.yml b/.forgejo/workflows/update-npins-sources.yml index a08b1acd..901482fa 100644 --- a/.forgejo/workflows/update-npins-sources.yml +++ b/.forgejo/workflows/update-npins-sources.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v3 - name: Update - run: nix-shell --command 'bash -c "npins update; just os vanadium build"' + run: nix-shell --arg CI true --command 'bash -c "npins update; just os vanadium build"' - name: Create Pull Request uses: https://github.com/maxking/forgejo-create-pr@v2.12 diff --git a/shell.nix b/shell.nix index 292dd1f7..b1470026 100644 --- a/shell.nix +++ b/shell.nix @@ -6,7 +6,9 @@ ./nix/overlays/disko.nix ]; }, + # withGHC ? false, + CI ? false, }: let inherit (pkgs) lib; in @@ -18,6 +20,9 @@ in npins disko ] + ++ lib.optionals CI [ + nixos-rebuild + ] ++ lib.optionals withGHC [ (haskellPackages.ghcWithPackages (self: [ self.xmonad-contrib