Merge pull request #1233 from adamcstephens/fish/package
fish: add package option
This commit is contained in:
commit
53a0c2fe6e
1 changed files with 3 additions and 1 deletions
|
|
@ -57,6 +57,8 @@ in
|
|||
type = types.bool;
|
||||
};
|
||||
|
||||
package = lib.mkPackageOption pkgs "fish" { };
|
||||
|
||||
useBabelfish = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
|
|
@ -238,7 +240,7 @@ in
|
|||
++ optional cfg.vendor.functions.enable "/share/fish/vendor_functions.d";
|
||||
}
|
||||
|
||||
{ systemPackages = [ pkgs.fish ]; }
|
||||
{ systemPackages = [ cfg.package ]; }
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue