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 {
type = types.package;
default = pkgs.jq;
defaultText = literalExpression "pkgs.foo";
default = pkgs.hello;
defaultText = literalExpression "pkgs.hello";
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 ={
enable = true;
package = pkgs.foo;
package = pkgs.hello;
extraConfig = ''
foo baz
'';

View File

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