Created
April 28, 2022 22:19
-
-
Save layus/e10b4fab9938e9a1777530fe296f0623 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warning: Git tree '/home/layus/.config/nixpkgs' is dirty | |
error: A definition for option `fonts.fonts.[definition 1-entry 39]' is not of type `path'. Definition values: | |
- In `/nix/store/ydhqybnnbz8y3c26fgyq52ysk3bf5s2y-source/nixos/common/fonts.nix': | |
{ | |
githubRelease = <derivation /nix/store/w6xih5g3hhc5q6jl7yq58qh50mc6kvha-mplus-outline-fonts-github.drv>; | |
osdnRelease = <derivation /nix/store/wal2cn7i7kimnknm47hrxn8b4m8fgy67-mplus-outline-fonts-osdn.drv>; | |
override = <function, args: {fetchFromGitHub, fetchzip, lib}>; | |
overrideDerivation = <function>; | |
... | |
… while calling the 'throw' builtin | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/modules.nix:775:12: | |
774| else let allInvalid = filter (def: ! type.check def.value) defsFinal; | |
775| in throw "A definition for option `${showOption loc}' is not of type `${type.description}'. Definition values:${showDefs allInvalid}" | |
| ^ | |
776| else | |
… while evaluating the attribute 'value' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/modules.nix:784:27: | |
783| optionalValue = | |
784| if isDefined then { value = mergedValue; } | |
| ^ | |
785| else {}; | |
(truncated) | |
(use '--show-trace' to show detailed location information) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/old-full.txt b/full.txt | |
index 3ee830f13..2ea8e5bd6 100644 | |
--- a/old-full.txt | |
+++ b/full.txt | |
@@ -1,69 +1,131 @@ | |
warning: Git tree '/home/layus/.config/nixpkgs' is dirty | |
error: A definition for option `fonts.fonts.[definition 1-entry 39]' is not of type `path'. Definition values: | |
- In `/nix/store/ydhqybnnbz8y3c26fgyq52ysk3bf5s2y-source/nixos/common/fonts.nix': | |
{ | |
githubRelease = <derivation /nix/store/w6xih5g3hhc5q6jl7yq58qh50mc6kvha-mplus-outline-fonts-github.drv>; | |
osdnRelease = <derivation /nix/store/wal2cn7i7kimnknm47hrxn8b4m8fgy67-mplus-outline-fonts-osdn.drv>; | |
override = <function, args: {fetchFromGitHub, fetchzip, lib}>; | |
overrideDerivation = <function>; | |
... | |
- … while evaluating the attribute 'value' | |
+ … while calling the 'throw' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/modules.nix:775:12: | |
+ | |
+ 774| else let allInvalid = filter (def: ! type.check def.value) defsFinal; | |
+ 775| in throw "A definition for option `${showOption loc}' is not of type `${type.description}'. Definition values:${showDefs allInvalid}" | |
+ | ^ | |
+ 776| else | |
+ … while evaluating the attribute 'value' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/modules.nix:784:27: | |
783| optionalValue = | |
784| if isDefined then { value = mergedValue; } | |
| ^ | |
785| else {}; | |
- … while evaluating anonymous lambda | |
- | |
+ … while evaluating the 'anonymous lambda' function | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/types.nix:403:14: | |
402| merge = loc: defs: | |
403| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def: | |
| ^ | |
404| imap1 (m: def': | |
… from call site | |
- … while evaluating the attribute 'buildCommand' of the derivation 'X11-fonts' | |
+ … while calling the 'toString' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/nixos/modules/config/fonts/fontdir.nix:12:12: | |
+ | |
+ 11| font_regexp='.*\.\(ttf\|ttc\|otf\|pcf\|pfa\|pfb\|bdf\)\(\.gz\)?' | |
+ 12| find ${toString config.fonts.fonts} -regex "$font_regexp" \ | |
+ | ^ | |
+ 13| -exec ln -sf -t "$out/share/X11/fonts" '{}' \; | |
+ … while evaluating the attribute 'buildCommand' of the derivation 'X11-fonts' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
205| name = | |
| ^ | |
206| let | |
- … while evaluating the attribute 'passAsFile' | |
+ … while calling the 'derivationStrict' builtin | |
+ at //builtin/derivation.nix:9:12: | |
+ | |
+ … while evaluating the second argument passed to builtins.getAttr | |
+ at //builtin/derivation.nix:19:19: | |
+ | |
+ … while calling the 'getAttr' builtin | |
+ at //builtin/derivation.nix:19:19: | |
+ | |
+ … while calling the 'toJSON' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:59:12: | |
+ | |
+ 58| nativeBuildInputs buildInputs; | |
+ 59| pkgs = builtins.toJSON (map (drv: { | |
+ | ^ | |
+ 60| paths = | |
+ | |
+ … while calling the 'stringLength' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:21: | |
+ | |
+ 76| # XXX: The size is somewhat arbitrary | |
+ 77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
+ | ^ | |
+ 78| } | |
+ | |
+ … while calling the 'lessThan' builtin | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:48: | |
+ | |
+ 76| # XXX: The size is somewhat arbitrary | |
+ 77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
+ | ^ | |
+ 78| } | |
+ | |
+ … in the argument of the not operator | |
+ | |
+ … while evaluating a branch condition | |
+ at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:18: | |
+ | |
+ 76| # XXX: The size is somewhat arbitrary | |
+ 77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
+ | ^ | |
+ 78| } | |
+ … while evaluating the attribute 'passAsFile' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:5: | |
76| # XXX: The size is somewhat arbitrary | |
77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
| ^ | |
78| } | |
… while evaluating the attribute 'passAsFile' of the derivation 'system-path' | |
- | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
205| name = | |
| ^ | |
206| let | |
- … while evaluating the attribute 'outPath' | |
+ … while calling the 'derivationStrict' builtin | |
+ at //builtin/derivation.nix:9:12: | |
+ | |
+ … while evaluating the second argument passed to builtins.getAttr | |
+ at //builtin/derivation.nix:19:19: | |
+ … while calling the 'getAttr' builtin | |
+ at //builtin/derivation.nix:19:19: | |
+ | |
+ … while evaluating the attribute 'outPath' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/customisation.nix:211:7: | |
210| drvPath = assert condition; drv.drvPath; | |
211| outPath = assert condition; drv.outPath; | |
| ^ | |
212| }; | |
… while evaluating the attribute 'path' | |
… while evaluating the attribute 'system' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warning: Git tree '/home/layus/.config/nixpkgs' is dirty | |
error: A definition for option `fonts.fonts.[definition 1-entry 39]' is not of type `path'. Definition values: | |
- In `/nix/store/ydhqybnnbz8y3c26fgyq52ysk3bf5s2y-source/nixos/common/fonts.nix': | |
{ | |
githubRelease = <derivation /nix/store/w6xih5g3hhc5q6jl7yq58qh50mc6kvha-mplus-outline-fonts-github.drv>; | |
osdnRelease = <derivation /nix/store/wal2cn7i7kimnknm47hrxn8b4m8fgy67-mplus-outline-fonts-osdn.drv>; | |
override = <function, args: {fetchFromGitHub, fetchzip, lib}>; | |
overrideDerivation = <function>; | |
... | |
… while calling the 'throw' builtin | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/modules.nix:775:12: | |
774| else let allInvalid = filter (def: ! type.check def.value) defsFinal; | |
775| in throw "A definition for option `${showOption loc}' is not of type `${type.description}'. Definition values:${showDefs allInvalid}" | |
| ^ | |
776| else | |
… while evaluating the attribute 'value' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/modules.nix:784:27: | |
783| optionalValue = | |
784| if isDefined then { value = mergedValue; } | |
| ^ | |
785| else {}; | |
… while evaluating the 'anonymous lambda' function | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/types.nix:403:14: | |
402| merge = loc: defs: | |
403| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def: | |
| ^ | |
404| imap1 (m: def': | |
… from call site | |
… while calling the 'toString' builtin | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/nixos/modules/config/fonts/fontdir.nix:12:12: | |
11| font_regexp='.*\.\(ttf\|ttc\|otf\|pcf\|pfa\|pfb\|bdf\)\(\.gz\)?' | |
12| find ${toString config.fonts.fonts} -regex "$font_regexp" \ | |
| ^ | |
13| -exec ln -sf -t "$out/share/X11/fonts" '{}' \; | |
… while evaluating the attribute 'buildCommand' of the derivation 'X11-fonts' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
205| name = | |
| ^ | |
206| let | |
… while calling the 'derivationStrict' builtin | |
at //builtin/derivation.nix:9:12: | |
… while evaluating the second argument passed to builtins.getAttr | |
at //builtin/derivation.nix:19:19: | |
… while calling the 'getAttr' builtin | |
at //builtin/derivation.nix:19:19: | |
… while calling the 'toJSON' builtin | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:59:12: | |
58| nativeBuildInputs buildInputs; | |
59| pkgs = builtins.toJSON (map (drv: { | |
| ^ | |
60| paths = | |
… while calling the 'stringLength' builtin | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:21: | |
76| # XXX: The size is somewhat arbitrary | |
77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
| ^ | |
78| } | |
… while calling the 'lessThan' builtin | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:48: | |
76| # XXX: The size is somewhat arbitrary | |
77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
| ^ | |
78| } | |
… in the argument of the not operator | |
… while evaluating a branch condition | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:18: | |
76| # XXX: The size is somewhat arbitrary | |
77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
| ^ | |
78| } | |
… while evaluating the attribute 'passAsFile' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:5: | |
76| # XXX: The size is somewhat arbitrary | |
77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
| ^ | |
78| } | |
… while evaluating the attribute 'passAsFile' of the derivation 'system-path' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
205| name = | |
| ^ | |
206| let | |
… while calling the 'derivationStrict' builtin | |
at //builtin/derivation.nix:9:12: | |
… while evaluating the second argument passed to builtins.getAttr | |
at //builtin/derivation.nix:19:19: | |
… while calling the 'getAttr' builtin | |
at //builtin/derivation.nix:19:19: | |
… while evaluating the attribute 'outPath' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/customisation.nix:211:7: | |
210| drvPath = assert condition; drv.drvPath; | |
211| outPath = assert condition; drv.outPath; | |
| ^ | |
212| }; | |
… while evaluating the attribute 'path' | |
… while evaluating the attribute 'system' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warning: Git tree '/home/layus/.config/nixpkgs' is dirty | |
error: A definition for option `fonts.fonts.[definition 1-entry 39]' is not of type `path'. Definition values: | |
- In `/nix/store/ydhqybnnbz8y3c26fgyq52ysk3bf5s2y-source/nixos/common/fonts.nix': | |
{ | |
githubRelease = <derivation /nix/store/w6xih5g3hhc5q6jl7yq58qh50mc6kvha-mplus-outline-fonts-github.drv>; | |
osdnRelease = <derivation /nix/store/wal2cn7i7kimnknm47hrxn8b4m8fgy67-mplus-outline-fonts-osdn.drv>; | |
override = <function, args: {fetchFromGitHub, fetchzip, lib}>; | |
overrideDerivation = <function>; | |
... | |
(use '--show-trace' to show detailed location information) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warning: Git tree '/home/layus/.config/nixpkgs' is dirty | |
error: A definition for option `fonts.fonts.[definition 1-entry 39]' is not of type `path'. Definition values: | |
- In `/nix/store/ydhqybnnbz8y3c26fgyq52ysk3bf5s2y-source/nixos/common/fonts.nix': | |
{ | |
githubRelease = <derivation /nix/store/w6xih5g3hhc5q6jl7yq58qh50mc6kvha-mplus-outline-fonts-github.drv>; | |
osdnRelease = <derivation /nix/store/wal2cn7i7kimnknm47hrxn8b4m8fgy67-mplus-outline-fonts-osdn.drv>; | |
override = <function, args: {fetchFromGitHub, fetchzip, lib}>; | |
overrideDerivation = <function>; | |
... | |
… while evaluating the attribute 'value' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/modules.nix:784:27: | |
783| optionalValue = | |
784| if isDefined then { value = mergedValue; } | |
| ^ | |
785| else {}; | |
… while evaluating anonymous lambda | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/types.nix:403:14: | |
402| merge = loc: defs: | |
403| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def: | |
| ^ | |
404| imap1 (m: def': | |
… from call site | |
… while evaluating the attribute 'buildCommand' of the derivation 'X11-fonts' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
205| name = | |
| ^ | |
206| let | |
… while evaluating the attribute 'passAsFile' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/build-support/buildenv/default.nix:77:5: | |
76| # XXX: The size is somewhat arbitrary | |
77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
| ^ | |
78| } | |
… while evaluating the attribute 'passAsFile' of the derivation 'system-path' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/pkgs/stdenv/generic/make-derivation.nix:205:7: | |
204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
205| name = | |
| ^ | |
206| let | |
… while evaluating the attribute 'outPath' | |
at /nix/store/h96rpxzp4q192r3fnwzclg3rmdg4nlqk-source/lib/customisation.nix:211:7: | |
210| drvPath = assert condition; drv.drvPath; | |
211| outPath = assert condition; drv.outPath; | |
| ^ | |
212| }; | |
… while evaluating the attribute 'path' | |
… while evaluating the attribute 'system' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment