This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
nixpkgs
Watch
2
Star
0
Fork
0
You've already forked nixpkgs
mirror of
https://github.com/NixOS/nixpkgs.git
synced
2025-02-08 21:24:03 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
16970f5a0f
nixpkgs
/
lib
/
tests
/
modules
/
disable-define-enable-string-path.nix
6 lines
70 B
Nix
Raw
Normal View
History
Unescape
Escape
treewide: remove unused lib (and other) arguments
2024-07-17 03:26:36 +00:00
{
.
.
.
}:
lib.modules: support strings with absolute paths in `disabledModules` This is particularly useful for disabling modules defined in a flake. Example: disabledModules = [ "${flake}/modules/mymodule.nix" ]; Previously, absolute string paths were internally prepended with `modulesPath`, which caused the module filtering to fail.
2022-08-25 12:03:57 +00:00
{
disabledModules
=
[
(
toString
./define-enable.nix
)
]
;
}
Reference in New Issue
Copy Permalink