diff --git a/libraries/pipes/flake.nix b/libraries/pipes/flake.nix index 3c383d5..27f4b0a 100644 --- a/libraries/pipes/flake.nix +++ b/libraries/pipes/flake.nix @@ -18,7 +18,7 @@ # You must provide our flake inputs to Snowfall Lib. inherit inputs; - overlays = with inputs; [ (import rust-overlay) ]; + overlays = with inputs; [(import rust-overlay)]; # The `src` must be the root of the flake. See configuration # in the next section for information on how you can move your diff --git a/libraries/pipes/nix/shells/java/default.nix b/libraries/pipes/nix/shells/java/default.nix index 2a0263a..a5c082b 100644 --- a/libraries/pipes/nix/shells/java/default.nix +++ b/libraries/pipes/nix/shells/java/default.nix @@ -4,19 +4,20 @@ pkgs, mkShell, ... -}: -let python = pkgs.python310; in -mkShell { - # Create your shell - packages = with pkgs; [ - zsh - jdk8 - uv - python - ]; - shellHook = '' - export PYTHONPATH=`pwd`/$VENV/${python.sitePackages}/:$PYTHONPATH - export LD_LIBRARY_PATH=${lib.makeLibraryPath [stdenv.cc.cc]} - export UV_PYTHON=${python}/bin/python - ''; -} +}: let + python = pkgs.python310; +in + mkShell { + # Create your shell + packages = with pkgs; [ + zsh + jdk8 + uv + python + ]; + shellHook = '' + export PYTHONPATH=`pwd`/$VENV/${python.sitePackages}/:$PYTHONPATH + export LD_LIBRARY_PATH=${lib.makeLibraryPath [stdenv.cc.cc]} + export UV_PYTHON=${python}/bin/python + ''; + } diff --git a/libraries/pipes/nix/shells/rust/default.nix b/libraries/pipes/nix/shells/rust/default.nix index ce59ac9..406554f 100644 --- a/libraries/pipes/nix/shells/rust/default.nix +++ b/libraries/pipes/nix/shells/rust/default.nix @@ -5,27 +5,29 @@ pkgs, mkShell, ... -}: -let python = pkgs.python310; in -mkShell { - packages = with pkgs; [ - zsh - uv - python - pkg-config - ( - rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override { - extensions = [ - "rust-src" - "rust-analyzer" - ]; - }) - ) - cargo-nextest - ]; - shellHook = '' - export PYTHONPATH=`pwd`/$VENV/${python.sitePackages}/:$PYTHONPATH - export LD_LIBRARY_PATH=${lib.makeLibraryPath [stdenv.cc.cc]} - export UV_PYTHON=${python}/bin/python - ''; -} +}: let + python = pkgs.python310; +in + mkShell { + packages = with pkgs; [ + zsh + uv + python + pkg-config + ( + rust-bin.selectLatestNightlyWith (toolchain: + toolchain.default.override { + extensions = [ + "rust-src" + "rust-analyzer" + ]; + }) + ) + cargo-nextest + ]; + shellHook = '' + export PYTHONPATH=`pwd`/$VENV/${python.sitePackages}/:$PYTHONPATH + export LD_LIBRARY_PATH=${lib.makeLibraryPath [stdenv.cc.cc]} + export UV_PYTHON=${python}/bin/python + ''; + }