summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorJeremy Fleischman <jeremyfleischman@gmail.com>2025-01-12 12:21:10 -0800
committerJeremy Fleischman <jeremyfleischman@gmail.com>2025-02-15 16:14:06 +0700
commit6d7f6a92cc5830f28dc56e4de8a4dc18c7ceda69 (patch)
tree82e184b505fb4689047b9f79746554fafd585203 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent2ee154072b14fb944dc1ae7ff7a5d104c4366ef9 (diff)
lib/types: add `types.pathWith`
This gives people some flexibility when they need a path type, and prevents a "combinatorial explosion" of various path stops. I've re-implemented our existing `path` and `pathInStore` types using `pathWith`. Our existing `package` type is potentially a candidate for similar treatment, but it's a little quirkier (there's some stuff with `builtins.hasContext` and `toDerivation` that I don't completely understand), and I didn't want to muddy this PR with that. As a happy side effect of this work, we get a new feature: the ability to create a type for paths *not* in the store. This is useful for when a module needs a path to a file, and wants to protect people from accidentally leaking that file into the nix store.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions