Skip to content

Commit

Permalink
update flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
zd4y committed Mar 27, 2024
1 parent ac4468f commit 47048ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
naersk-lib = pkgs.callPackage naersk { };
in
{
defaultPackage = naersk-lib.buildPackage ./.;
devShell = with pkgs; mkShell {
packages.default = naersk-lib.buildPackage ./.;
devShells.default = with pkgs; mkShell {
buildInputs = [ cargo rustc rustfmt pre-commit rustPackages.clippy ];
RUST_SRC_PATH = rustPlatform.rustLibSrc;
};
Expand Down

0 comments on commit 47048ce

Please sign in to comment.