summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-03-06 20:33:51 +0100
committerandromeda <andromeda@lenovo>2026-03-06 20:33:51 +0100
commit9c65697dd8119ec9cee13f57f870b07e305d27ec (patch)
tree27b61bd7a27df6e25db8b21dc0ee3daed01d79fb /flake.nix
parentfdf5bb9daf8574b7f993e2e38e400c35aedc3b96 (diff)
bunch of stuff idek
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/flake.nix b/flake.nix
index 81b9289..1ce6341 100644
--- a/flake.nix
+++ b/flake.nix
@@ -18,15 +18,16 @@
...
}: let
system = "x86_64-linux";
- pkgs = import nixpkgs {
- inherit system;
- overlays = [(import rust-overlay)];
- };
+ pkgs = nixpkgs.legacyPackages.${system};
+ pkgsWithRustOverlay = pkgs.extend (import rust-overlay);
in {
packages.${system} = {
- bootler = pkgs.callPackage ./nix/pkgs/bootler.nix {};
- bootle = pkgs.callPackage ./nix/pkgs/bootle.nix {
- naersk = naersk;
+ bootler = pkgs.callPackage ./bootler/package.nix {};
+ bootle = pkgsWithRustOverlay.callPackage ./bootle/package.nix {
+ inherit naersk;
+ bootler = self.packages.${system}.bootler;
+ };
+ twasm = pkgs.callPackage ./twasm/package.nix {
bootler = self.packages.${system}.bootler;
};
};
@@ -34,6 +35,7 @@
inputsFrom = [
self.packages.${system}.bootle
self.packages.${system}.bootler
+ self.packages.${system}.twasm
];
};
};