-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Labels
bugSomething isn't workingSomething isn't workingneeds reproductionMissing a flake which easily reproduces the problemMissing a flake which easily reproduces the problem
Description
Operations fail because of:
error: home directory '/homeless-shelter' exists; please remove it to assure purity of builds without sandboxing
/homeless-shelter contains:
/homeless-shelter
/homeless-shelter/.cargo
/homeless-shelter/.cargo/.package-cache
/homeless-shelter/.cargo/.global-cache
/homeless-shelter/.cargo/.package-cache-mutate
This is produced while evaluating a flake containing:
jaiminho = (crane.mkLib pkgs).buildPackage {
src = ./jaiminho;
pname = "jaiminho";
version = "0.0.0";
cargoExtraArgs = "-p jaiminho_cli";
nativeBuildInputs = with pkgs; [
cmake
nasm
];
strictDeps = true;
doCheck = false;
};
on a daemonless Nix as root inside docker whose image is built with:
trampolineBase = pkgs.dockerTools.buildImage {
name = "trampoline-base";
copyToRoot = pkgs.buildEnv {
name = "trampoline-base-root";
paths = [
pkgs.dockerTools.caCertificates
pkgs.dockerTools.fakeNss
pkgs.git
pkgs.nix
pkgs.bash
pkgs.busybox
];
pathsToLink = [
"/bin"
"/etc"
];
};
};
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds reproductionMissing a flake which easily reproduces the problemMissing a flake which easily reproduces the problem