summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-03-06 16:53:18 +0100
committerandromeda <andromeda@lenovo>2026-03-06 16:53:18 +0100
commitd35463e1959cb64828c3166527b06e4a79cbea5e (patch)
tree65017b84447f63eaaac8326c6d18f5c5e34e6bac /flake.nix
parentfdf5bb9daf8574b7f993e2e38e400c35aedc3b96 (diff)
reorganise
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 81b9289..a631534 100644
--- a/flake.nix
+++ b/flake.nix
@@ -18,14 +18,15 @@
...
}: let
system = "x86_64-linux";
- pkgs = import nixpkgs {
+ pkgs = nixpkgs.legacyPackages.${system};
+ pkgsWithRustOverlay = import nixpkgs {
inherit system;
overlays = [(import rust-overlay)];
};
in {
packages.${system} = {
- bootler = pkgs.callPackage ./nix/pkgs/bootler.nix {};
- bootle = pkgs.callPackage ./nix/pkgs/bootle.nix {
+ bootler = pkgs.callPackage ./bootler/package.nix {};
+ bootle = pkgsWithRustOverlay.callPackage ./bootle/package.nix {
naersk = naersk;
bootler = self.packages.${system}.bootler;
};