feat: replace pkgs.foo with a package that is actually available

This commit is contained in:
Ryan Yin 2024-03-02 22:18:14 +08:00
parent 76427ef446
commit 7404098ea1
2 changed files with 6 additions and 6 deletions

View File

@ -93,8 +93,8 @@ in {
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs.jq; default = pkgs.hello;
defaultText = literalExpression "pkgs.foo"; defaultText = literalExpression "pkgs.hello";
description = "foo package to use."; description = "foo package to use.";
}; };
@ -150,7 +150,7 @@ This way, we can import this module in another Nix file and achieve custom confi
programs.foo ={ programs.foo ={
enable = true; enable = true;
package = pkgs.foo; package = pkgs.hello;
extraConfig = '' extraConfig = ''
foo baz foo baz
''; '';

View File

@ -100,8 +100,8 @@ in {
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs.jq; default = pkgs.hello;
defaultText = literalExpression "pkgs.foo"; defaultText = literalExpression "pkgs.hello";
description = "foo package to use."; description = "foo package to use.";
}; };
@ -157,7 +157,7 @@ in {
programs.foo ={ programs.foo ={
enable = true; enable = true;
package = pkgs.foo; package = pkgs.hello;
extraConfig = '' extraConfig = ''
foo baz foo baz
''; '';