summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik
diff options
context:
space:
mode:
authorAndreas Herrmann <andreash87@gmx.ch>2018-10-29 13:06:55 +0100
committerAndreas Herrmann <andreash87@gmx.ch>2018-10-29 15:46:20 +0100
commit044ceae2806480555a44c91c386546cffb46ba74 (patch)
treef5c352b223d433904ee099e8ce88e3b3f74e8c39 /pkgs/development/python-modules/python-mapnik
parentebffa9fd06af825d161d9da8d43f93ddb6b1f313 (diff)
nixos/lib/eval-config.nix: toString modulesPath
Referencing modulesPath in NixOS configurations can cause evaluation errors in restricted mode. If used as `${modulesPath}` (as in all use-sites in nixpkgs) the modules subtree is copied into its own store path. Access to this path will be forbidden in restricted mode. Converting to a string solves this issue. `${builtins.toString modulesPath}` will point to a subdirectory of the nixpkgs tree out of which evalModules is called. This change converts modulesPath to a string by default so that the call-site doesn't have to anymore.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions