Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA derivations leave .lock files around #4936

Closed
thufschmitt opened this issue Jun 23, 2021 · 0 comments · Fixed by #4942
Closed

CA derivations leave .lock files around #4936

thufschmitt opened this issue Jun 23, 2021 · 0 comments · Fixed by #4942
Assignees
Labels
ca-derivations Derivations with content addressed outputs

Comments

@thufschmitt
Copy link
Member

When building a CA derivation, Nix leaves a file $out.lock in the store (which won’t last as it will be gc-ed, but still).

Steps to reproduce

  • Build a CA derivation
  • ls $(realpath $out).lock
@thufschmitt thufschmitt added the ca-derivations Derivations with content addressed outputs label Jun 23, 2021
@thufschmitt thufschmitt self-assigned this Jun 23, 2021
thufschmitt added a commit that referenced this issue Jun 23, 2021
thufschmitt added a commit that referenced this issue Jun 24, 2021
Mark the lockfiles as having to eventually be deleted so that they don’t
stay laying around in the store at the end of the build

Fix #4936
Pamplemousse pushed a commit to Pamplemousse/nix that referenced this issue Jun 28, 2021
Mark the lockfiles as having to eventually be deleted so that they don’t
stay laying around in the store at the end of the build

Fix NixOS#4936
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ca-derivations Derivations with content addressed outputs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant