forked from Shinonome/caelestia-cli
nix: add with shell package
Also fix ci
This commit is contained in:
@@ -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: |
|
||||
|
||||
@@ -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];
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user