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 uses: actions/checkout@v3
- name: Update - 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 - name: Create Pull Request
uses: https://github.com/maxking/forgejo-create-pr@v2.12 uses: https://github.com/maxking/forgejo-create-pr@v2.12

View file

@ -6,7 +6,9 @@
./nix/overlays/disko.nix ./nix/overlays/disko.nix
]; ];
}, },
#
withGHC ? false, withGHC ? false,
CI ? false,
}: let }: let
inherit (pkgs) lib; inherit (pkgs) lib;
in in
@ -18,6 +20,9 @@ in
npins npins
disko disko
] ]
++ lib.optionals CI [
nixos-rebuild
]
++ lib.optionals withGHC [ ++ lib.optionals withGHC [
(haskellPackages.ghcWithPackages (self: [ (haskellPackages.ghcWithPackages (self: [
self.xmonad-contrib self.xmonad-contrib