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

factor: a standard working directory is set to be in /nix/store #46300

Closed
ghost opened this issue Sep 7, 2018 · 2 comments
Closed

factor: a standard working directory is set to be in /nix/store #46300

ghost opened this issue Sep 7, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 7, 2018

Issue description

Standard use of factor (including following the second step in the tutorial) requires using working directories. The default location of the first working directory a new user comes across is set by this package to be in /nix/store.

That means the working directory is read-only, of course, and so it can't be used for its intended purpose.

There are work-arounds, but they don't go well with standard practice (I think) or the tutorial (definitely).

Steps to reproduce

Install the factor package.

Run the first two steps of the tutorial:

USE: tools.scaffold

"palindrome" scaffold-work

Error message:

Unix system call “mkdir” failed:

Read-only file system (30)

It was called with the following arguments:

"/nix/store/ny5pmkk5hghbs6gmd22j95zkx8nxw7vd-factor-lang-0.97/..."
511

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.68, NixOS, 19.03pre151837.ca2ba44cab4 (Koi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.1`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

@ghost
Copy link
Author

ghost commented Sep 7, 2018

@vrthra: This needs someone who knows a bit about setting defaults in factor's ecosystem. I hope to learn about it one day, but at the moment I have no idea at all. Any chance you can look at this? Thanks very much.

@spacefrogg
Copy link
Contributor

This was fixed in #48727.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants