summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
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;
};