diff options
author | Yorick <yorick@yorickvanpelt.nl> | 2018-05-04 13:12:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-04 13:12:09 +0200 |
commit | 20bb5fb0d94823eca8a4b68bc5ddfce459346d72 (patch) | |
tree | f962db63d47cf8beb044976ee2c812c2087bb291 /doc | |
parent | 977f9a129e95be52c74d2ace313c259f277c445f (diff) | |
download | nixlib-20bb5fb0d94823eca8a4b68bc5ddfce459346d72.tar nixlib-20bb5fb0d94823eca8a4b68bc5ddfce459346d72.tar.gz nixlib-20bb5fb0d94823eca8a4b68bc5ddfce459346d72.tar.bz2 nixlib-20bb5fb0d94823eca8a4b68bc5ddfce459346d72.tar.lz nixlib-20bb5fb0d94823eca8a4b68bc5ddfce459346d72.tar.xz nixlib-20bb5fb0d94823eca8a4b68bc5ddfce459346d72.tar.zst nixlib-20bb5fb0d94823eca8a4b68bc5ddfce459346d72.zip |
impure.nix: stringify path from NIX_PATH
If impure.nix gets the path from NIX_PATH, the type is `path`, and `path+"/."` is a no-op. Stringify it first so `isDir` will return false if it's not, in fact, a dir. This way, single files can be specified with nixpkgs-overlays in the NIX_PATH.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions