summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-04 15:48:31 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-04 15:48:31 +1000
commit981f686a3ca5e0096b41271130b975a0506b1490 (patch)
treeb808dd0469bd4c8dd160892aab0cc80285e3f46e
parentci: dont test random scheme (diff)
downloadcaelestia-cli-981f686a3ca5e0096b41271130b975a0506b1490.tar.gz
caelestia-cli-981f686a3ca5e0096b41271130b975a0506b1490.tar.bz2
caelestia-cli-981f686a3ca5e0096b41271130b975a0506b1490.zip
nix: add with shell package
Also fix ci
-rw-r--r--.github/workflows/update-flake-inputs.yml2
-rw-r--r--flake.nix3
2 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/update-flake-inputs.yml b/.github/workflows/update-flake-inputs.yml
index 79f664b..698f287 100644
--- a/.github/workflows/update-flake-inputs.yml
+++ b/.github/workflows/update-flake-inputs.yml
@@ -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: |
diff --git a/flake.nix b/flake.nix
index abc9583..8d480e4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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];
};
});
};