mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-02-16 10:29:55 +01:00
feat: replace pkgs.foo with a package that is actually available
This commit is contained in:
parent
76427ef446
commit
7404098ea1
@ -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
|
||||
'';
|
||||
|
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user