Skip to content

Commit

Permalink
Added musl devshell
Browse files Browse the repository at this point in the history
  • Loading branch information
fzakaria committed Dec 22, 2021
1 parent 50d4335 commit 03385bc
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,17 @@
build = self.hydraJobs.build.${system};
});

devShell = forAllSystems (system: pkgs.mkShell {
buildInputs = [ self.defaultPackage.${system}.inputDerivation];
});
devShell = forAllSystems (system: self.devShells.${system}.glibc);

devShells = forAllSystems (system:
{
glibc = pkgs.mkShell {
buildInputs = [ self.packages.${system}.patchelf.inputDerivation];
};
musl = pkgs.pkgsMusl.mkShell {
buildInputs = [ self.packages.${system}.patchelf-musl.inputDerivation];
};
});

defaultPackage = forAllSystems (system:
self.packages.${system}.patchelf
Expand Down

0 comments on commit 03385bc

Please sign in to comment.