From 673f2563e48a4e1e37af6985d4d18f56bff741ea Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Thu, 11 Jun 2026 19:25:19 +1200 Subject: Another clean slate. I cannot continue to fight Nix and try to make it do what it was never meant to do. Yocto time! --- flake.nix | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 0a62d14..0000000 --- a/flake.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ - description = "Yerba Linux"; - - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; - - outputs = { self, nixpkgs }: let - system = "x86_64-linux"; - 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"; - }; - }; - reallyActuallyGoodPkgsMuslBecauseTheOtherOneThatIThoughtWasActuallyGoodAlsoMadeMeWantToSmashMyHeadAgainstAWall = nixpkgs.legacyPackages.${system}.pkgsCross.musl64; - in { - devShells.${system}.default = pkgs.mkShell { - buildInputs = with pkgs; [ gcc clang gnumake xorriso cpio ]; - }; - - packages.${system} = { - kernel = pkgs.callPackage ./nix/kernel.nix {}; - busybox = pkgs.callPackage ./nix/busybox.nix { - inherit (pkgs) pkgsStatic; - }; - runit = pkgsStatic.runit; - zsh = reallyActuallyGoodPkgsMuslBecauseTheOtherOneThatIThoughtWasActuallyGoodAlsoMadeMeWantToSmashMyHeadAgainstAWall.callPackage ./nix/zsh.nix {}; - limine = pkgs.callPackage ./nix/limine.nix {}; - initramfs = pkgs.callPackage ./nix/initramfs.nix { - inherit (self.packages.${system}) kernel busybox; - }; - rootfs = pkgs.callPackage ./nix/rootfs.nix { - inherit (self.packages.${system}) busybox runit; - inherit (pkgsMusl) musl; - }; - iso = pkgs.callPackage ./nix/iso.nix { - inherit (self.packages.${system}) kernel limine initramfs rootfs; - }; - default = self.packages.${system}.iso; - }; - }; -} -- cgit v1.2.3