Closed musjj closed 1 year ago
How are you using absolute paths here?:
https://github.com/hlissner/dotfiles/blob/089f1a9da9018df9e5fc200c2d7bef70f4546026/modules/desktop/bspwm.nix#L51-L58
For me, I need to pass the absolute path string to config.lib.file.mkOutOfStoreSymlink first, or I would get this error:
config.lib.file.mkOutOfStoreSymlink
error: access to absolute path '/absolute/path' is forbidden in pure eval mode (use '--impure' to override)
How are you working around this?
By running all nix commands (where possible) in impure mode (for example).
I see, thanks for answering!
What would you like to know?
How are you using absolute paths here?:
https://github.com/hlissner/dotfiles/blob/089f1a9da9018df9e5fc200c2d7bef70f4546026/modules/desktop/bspwm.nix#L51-L58
For me, I need to pass the absolute path string to
config.lib.file.mkOutOfStoreSymlink
first, or I would get this error:How are you working around this?