Skip to content

Commit e1c6a0c

Browse files
committed
refac: rename rust-pkgs to rust-toolchain, and delete suspicious with pkgs;
1 parent ee1cb48 commit e1c6a0c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

flake.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
let
1818
pkgs = nixpkgs.legacyPackages.${system};
1919
unstable-pkgs = unstable.legacyPackages.${system};
20-
rust-pkgs = import ./nix/rust-toolchain.nix { inherit fenix system; };
20+
rust-toolchain = import ./nix/rust-toolchain.nix { inherit fenix system; };
2121

2222
common = {
2323
buildInputs = with pkgs; [
@@ -41,11 +41,11 @@
4141
{
4242
devShells.default = pkgs.mkShell common;
4343
devShells.scraper = pkgs.mkShell {
44-
buildInputs = common.buildInputs ++ (with pkgs; [
45-
pkg-config
46-
openssl
47-
rust-pkgs
48-
]);
44+
buildInputs = common.buildInputs ++ [
45+
pkgs.pkg-config
46+
pkgs.openssl
47+
rust-toolchain
48+
];
4949
shellHook = common.shellHook;
5050
};
5151
});

0 commit comments

Comments
 (0)