Skip to content

Commit

Permalink
fixed rootfs/usr/bin and pip installing python packages
Browse files Browse the repository at this point in the history
  • Loading branch information
TyberiusPrime committed Oct 27, 2021
1 parent 7584072 commit 4a9f124
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anysnake2"
version = "0.6.0"
version = "0.7.0"
authors = ["Florian Finkernagel <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion src/flake_template.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
touch $out/rootfs/etc/group
mkdir -p $out/rootfs/{bin,etc,share}
mkdir -p $out/rootfs/usr/{bin,lib/share}
mkdir -p $out/rootfs/usr/{lib/share}
for path in "${mypy2}/bin/"*;
do
ln -s $path $out/rootfs/bin/
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ fn fill_venv(
&safe_pkg
),
];
singularity_args.push(flake_dir.join("/result/rootfs").to_string_lossy());
singularity_args.push(flake_dir.join("result/rootfs").to_string_lossy());
singularity_args.push("bash".into());
singularity_args.push("-c".into());
singularity_args.push(format!(
Expand Down

0 comments on commit 4a9f124

Please sign in to comment.