File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1717 pkgs = nixpkgs . legacyPackages . ${ system } ;
1818 unstable-pkgs = unstable . legacyPackages . ${ system } ;
1919 rust-pkgs = import ./nix/rust-toolchain.nix { inherit fenix system ; } ;
20- in
21- rec {
22- devShells . default = pkgs . mkShell {
20+
21+ common = {
2322 buildInputs = with pkgs ; [
2423 gnumake
2524 bun
3736 export PRISMA_FMT_BINARY="${ unstable-pkgs . prisma-engines } /bin/prisma-fmt";
3837 '' ;
3938 } ;
39+ in
40+ {
41+ devShells . default = pkgs . mkShell common ;
4042 devShells . scraper = pkgs . mkShell {
41- buildInputs = devShells . default . buildInputs ++ ( with pkgs ; [
43+ buildInputs = common . buildInputs ++ ( with pkgs ; [
4244 pkg-config
4345 openssl
4446 rust-pkgs
4547 ] ) ;
46- shellHook = devShells . default . shellHook ;
48+ shellHook = common . shellHook ;
4749 } ;
4850 } ) ;
4951}
You can’t perform that action at this time.
0 commit comments