Fix Nix DevShell

This commit is contained in:
Yannik Sander 2021-09-30 10:08:39 +02:00 committed by PaddiM8
parent 28f99bb366
commit 6d3065a3e0

View File

@ -13,7 +13,7 @@
inherit system; inherit system;
overlays = [ self.overlay ]; overlays = [ self.overlay ];
}); });
in { in rec {
overlay = final: prev: { overlay = final: prev: {
kalker = final.rustPlatform.buildRustPackage { kalker = final.rustPlatform.buildRustPackage {
pname = "kalker"; pname = "kalker";
@ -58,7 +58,7 @@
devShell = forAllSystems (system: devShell = forAllSystems (system:
nixpkgs.legacyPackages.${system}.mkShell { nixpkgs.legacyPackages.${system}.mkShell {
inputsFrom = builtins.attrValues (packages); inputsFrom = builtins.attrValues (packages.${system});
}); });
}; };
} }