aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-11 18:34:11 +1200
committerArslaan Pathan <[email protected]>2026-06-11 18:34:11 +1200
commit46a968ee47dee51bd9602afc80c09ee592f59749 (patch)
tree2ac9a2be3537055042a3cb8c15ae94c14bfd8341 /flake.nix
parent706ecb87cc51c827e1ee1765da587f6c270d72f3 (diff)
downloadyerbalinux-46a968ee47dee51bd9602afc80c09ee592f59749.tar.xz
yerbalinux-46a968ee47dee51bd9602afc80c09ee592f59749.zip
Finish zsh and PLEASE PLEASE NIX STOP LINKING TO NIX STORE FOR LIBC
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 3c3f16f..f2d0e80 100644
--- a/flake.nix
+++ b/flake.nix
@@ -8,6 +8,12 @@
pkgs = nixpkgs.legacyPackages.${system};
pkgsStatic = nixpkgs.legacyPackages.${system}.pkgsStatic;
pkgsMusl = nixpkgs.legacyPackages.${system}.pkgsMusl;
+ actuallyGoodPkgsMuslThatDoesntMakeMeWantToSmashMyHeadAgainstAWall = import nixpkgs {
+ localSystem = {
+ system = "x86_64-linux";
+ config = "x86_64-unknown-linux-musl";
+ };
+ };
in {
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [ gcc clang gnumake xorriso cpio ];
@@ -19,6 +25,7 @@
inherit (pkgs) pkgsStatic;
};
runit = pkgsStatic.runit;
+ zsh = actuallyGoodPkgsMuslThatDoesntMakeMeWantToSmashMyHeadAgainstAWall.callPackage ./nix/zsh.nix {};
limine = pkgs.callPackage ./nix/limine.nix {};
initramfs = pkgs.callPackage ./nix/initramfs.nix {
inherit (self.packages.${system}) kernel busybox;