This website requires JavaScript.
Explore
Help
Sign in
movefasta
/
nixpkgs
Watch
1
Star
0
Fork
You've already forked nixpkgs
0
mirror of
https://github.com/NixOS/nixpkgs.git
synced
2025-06-10 19:55:41 +03:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
f2f7b44cb2
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 05:26:36 +02: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 14:03:57 +02:00
{
disabledModules
=
[
(
toString
./define-enable.nix
)
]
;
}
Reference in a new issue
Copy permalink