nix: add with shell package

Also fix ci
This commit is contained in:
2 * r + 2 * t
2025-08-04 15:48:31 +10:00
parent 43fb0cfc35
commit 981f686a3c
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ jobs:
run: nix flake update
- name: Attempt to build flake
run: nix build
run: nix build '.#with-shell'
- name: Test modules
run: |
+2 -1
View File
@@ -35,12 +35,13 @@
app2unit = inputs.app2unit.packages.${pkgs.system}.default;
caelestia-shell = inputs.caelestia-shell.packages.${pkgs.system}.default;
};
with-shell = caelestia-cli.override {withShell = true;};
default = caelestia-cli;
});
devShells = forAllSystems (pkgs: {
default = pkgs.mkShellNoCC {
packages = [(self.packages.${pkgs.system}.caelestia-cli.override {withShell = true;})];
packages = [self.packages.${pkgs.system}.with-shell];
};
});
};