aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 07:12:28 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 07:12:28 +0100
commit2e2f2579fa5320669420c28cf6d56f1213e037ae (patch)
tree9b37f163308e6eb14f7f5bc3b87a26a0b21418cd
parent116e48fad3bf91ffd179c048cd0444de5a65719f (diff)
Merge pull request #9575 from hercules-ci/shell-on-hydra
flake.nix: Cache shell inputs through hydra (cherry picked from commit b1842a4f05113967e8c20c9ebfd79edc39da259b) Change-Id: I9e59b3c7dbf441e74cff3e4f24bbf65170ac505b
-rw-r--r--flake.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 5d5d00e5d..3c0fdc31d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -540,6 +540,8 @@
# Binary package for various platforms.
build = forAllSystems (system: self.packages.${system}.nix);
+ shellInputs = forAllSystems (system: self.devShells.${system}.default.inputDerivation);
+
buildStatic = lib.genAttrs linux64BitSystems (system: self.packages.${system}.nix-static);
buildCross = forAllCrossSystems (crossSystem: