nixos-rebuild

This commit is contained in:
Primrose 2025-10-12 12:07:56 +08:00
parent 359536618d
commit a5280afb35
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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