From 6939ffc9f9b23878d5960dabd92a7884feec689b Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Tue, 11 Jun 2024 12:42:51 -0700 Subject: [PATCH] Check devShells in CI We should not let these regress in CI by having broken dependencies or similar. Still need to fix the evaluation error checking in buildbot-nix, but this is a useful step regardless. Fixes: https://git.lix.systems/lix-project/lix/issues/383 Change-Id: I3883184165440e66256c989117f2ab2e54c3aafd --- flake.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/flake.nix b/flake.nix index a02ba06d6..16b92d022 100644 --- a/flake.nix +++ b/flake.nix @@ -212,6 +212,11 @@ # Binary package for various platforms. build = forAllSystems (system: self.packages.${system}.nix); + devShell = forAllSystems (system: { + default = self.devShells.${system}.default; + clang = self.devShells.${system}.native-clangStdenvPackages; + }); + rl-next = forAllSystems ( system: let @@ -319,6 +324,9 @@ checks = forAvailableSystems ( system: { + # devShells and packages already get checked by nix flake check, so + # this is just jobs that are special + binaryTarball = self.hydraJobs.binaryTarball.${system}; perlBindings = self.hydraJobs.perlBindings.${system}; nixpkgsLibTests = self.hydraJobs.tests.nixpkgsLibTests.${system};