Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
marijncv committed Jan 4, 2025
1 parent 66030dc commit e0e185a
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 41 deletions.
2 changes: 1 addition & 1 deletion libraries/pipes/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
33 changes: 17 additions & 16 deletions libraries/pipes/nix/shells/java/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';
}
50 changes: 26 additions & 24 deletions libraries/pipes/nix/shells/rust/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';
}

0 comments on commit e0e185a

Please sign in to comment.