diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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; }; |
