Skip to content

Commit 6811641

Browse files
committed
add option
1 parent 8eb363e commit 6811641

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/back-compat.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,19 @@ with lib;
3737
type = types.listOf strOrPackage;
3838
default = [ ];
3939
};
40+
41+
packagesFrom = mkOption {
42+
internal = true;
43+
type = types.listOf strOrPackage;
44+
default = [ ];
45+
};
4046
};
4147

4248
# Copy the values over to the devshell module
4349
config.devshell =
4450
{
4551
packages = config.packages;
52+
packagesFrom = config.packagesFrom;
4653
startup.bash_extra = noDepEntry config.bash.extra;
4754
interactive.bash_interactive = noDepEntry config.bash.interactive;
4855
}

0 commit comments

Comments
 (0)