Skip to content

feature: mount any '/nix/store' from host machine #73

@nokome

Description

@nokome

Currently, when executing a Nix based docker container we mount a Nix store volume: https://github.com/stencila/dockter/blob/e8563580a1104f58e9d29e37bc8e4d6dc2a81db4/src/cli-nix.ts#L65-L68

Instead of looking for, and creating if necessary, a Docker volume with the name nix-store, why not look for, and create if necessary, a /nix/store directory on the host machine? Or maybe fall back to the current approach only if there is no /nix/store directory on the host machine.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions