mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-05 23:09:27 -05:00
nix: add with shell package
Also fix ci
This commit is contained in:
@@ -49,7 +49,7 @@ jobs:
|
|||||||
run: nix flake update
|
run: nix flake update
|
||||||
|
|
||||||
- name: Attempt to build flake
|
- name: Attempt to build flake
|
||||||
run: nix build
|
run: nix build '.#with-shell'
|
||||||
|
|
||||||
- name: Test modules
|
- name: Test modules
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -35,12 +35,13 @@
|
|||||||
app2unit = inputs.app2unit.packages.${pkgs.system}.default;
|
app2unit = inputs.app2unit.packages.${pkgs.system}.default;
|
||||||
caelestia-shell = inputs.caelestia-shell.packages.${pkgs.system}.default;
|
caelestia-shell = inputs.caelestia-shell.packages.${pkgs.system}.default;
|
||||||
};
|
};
|
||||||
|
with-shell = caelestia-cli.override {withShell = true;};
|
||||||
default = caelestia-cli;
|
default = caelestia-cli;
|
||||||
});
|
});
|
||||||
|
|
||||||
devShells = forAllSystems (pkgs: {
|
devShells = forAllSystems (pkgs: {
|
||||||
default = pkgs.mkShellNoCC {
|
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