Skip to content

Commit 03385bc

Browse files
committed
Added musl devshell
1 parent 50d4335 commit 03385bc

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

flake.nix

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,17 @@
8989
build = self.hydraJobs.build.${system};
9090
});
9191

92-
devShell = forAllSystems (system: pkgs.mkShell {
93-
buildInputs = [ self.defaultPackage.${system}.inputDerivation];
94-
});
92+
devShell = forAllSystems (system: self.devShells.${system}.glibc);
93+
94+
devShells = forAllSystems (system:
95+
{
96+
glibc = pkgs.mkShell {
97+
buildInputs = [ self.packages.${system}.patchelf.inputDerivation];
98+
};
99+
musl = pkgs.pkgsMusl.mkShell {
100+
buildInputs = [ self.packages.${system}.patchelf-musl.inputDerivation];
101+
};
102+
});
95103

96104
defaultPackage = forAllSystems (system:
97105
self.packages.${system}.patchelf

0 commit comments

Comments
 (0)