Skip to content

Instantly share code, notes, and snippets.

@dustinlacewell
Created March 17, 2021 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinlacewell/cbfe20634d8d81d356727de425689e96 to your computer and use it in GitHub Desktop.
Save dustinlacewell/cbfe20634d8d81d356727de425689e96 to your computer and use it in GitHub Desktop.
hm-switch --show-trace ~
trace: Warning: `stdenv.lib` is deprecated and will be removed in the next release. Please use `lib` instead. For more information see https://github.com/NixOS/nixpkgs/issues/108938
trace: warning: The type `types.string' of option `mine.weechat.mutable-config' defined in `/nixcfg/modules/home/linux/weechat/default.nix' is deprecated. See https://github.com/NixOS/nixpkgs/pull/66346 for better alternative types.
trace: Warning: `stdenv.lib` is deprecated and will be removed in the next release. Please use `lib` instead. For more information see https://github.com/NixOS/nixpkgs/issues/108938
trace: warning: The type `types.string' of option `mine.weechat.mutable-config' defined in `/nixcfg/modules/home/linux/weechat/default.nix' is deprecated. See https://github.com/NixOS/nixpkgs/pull/66346 for better alternative types.
trace: Warning: `stdenv.lib` is deprecated and will be removed in the next release. Please use `lib` instead. For more information see https://github.com/NixOS/nixpkgs/issues/108938
error: while evaluating the attribute 'buildCommand' of the derivation 'home-manager-generation' at /nixpkgs/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating the attribute 'text' of the derivation 'activation-script' at /nixpkgs/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating 'mkCmd' at /nix/store/24jpbxkw05k16n7sz2l2g5cx3z5db5wx-source/modules/home-environment.nix:502:17, called from undefined position:
while evaluating the attribute 'data' at /nix/store/24jpbxkw05k16n7sz2l2g5cx3z5db5wx-source/modules/lib/dag.nix:91:37:
while evaluating the attribute 'data' at /nix/store/24jpbxkw05k16n7sz2l2g5cx3z5db5wx-source/modules/lib/dag.nix:85:9:
while evaluating the attribute 'data' at undefined position:
while evaluating 'g' at /nixpkgs/lib/attrsets.nix:294:19, called from undefined position:
while evaluating anonymous function at /nixpkgs/lib/modules.nix:139:72, called from /nixpkgs/lib/attrsets.nix:297:20:
while evaluating the attribute 'value' at /nixpkgs/lib/modules.nix:512:9:
while evaluating the option `home.activation.installPackages.data':
while evaluating the attribute 'mergedValue' at /nixpkgs/lib/modules.nix:544:5:
while evaluating the attribute 'values' at /nixpkgs/lib/modules.nix:538:9:
while evaluating the attribute 'values' at /nixpkgs/lib/modules.nix:637:7:
while evaluating anonymous function at /nixpkgs/lib/modules.nix:524:28, called from /nixpkgs/lib/modules.nix:524:17:
while evaluating definitions from `/nix/store/24jpbxkw05k16n7sz2l2g5cx3z5db5wx-source/modules/home-environment.nix':
while evaluating 'dischargeProperties' at /nixpkgs/lib/modules.nix:596:25, called from /nixpkgs/lib/modules.nix:525:137:
while evaluating the attribute 'value' at /nixpkgs/lib/modules.nix:379:44:
while evaluating the attribute 'passAsFile' of the derivation 'home-manager-path' at /nixpkgs/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating the attribute 'text' of the derivation 'staruml' at /nixpkgs/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating the attribute 'installPhase' of the derivation 'staruml-2.8.1' at /nixpkgs/pkgs/stdenv/generic/make-derivation.nix:192:11:
while evaluating 'makeSearchPathOutput' at /nixpkgs/lib/strings.nix:164:5, called from /nixpkgs/pkgs/tools/misc/staruml/default.nix:7:21:
while evaluating 'makeSearchPath' at /nixpkgs/lib/strings.nix:144:5, called from /nixpkgs/lib/strings.nix:164:11:
while evaluating anonymous function at /nixpkgs/lib/strings.nix:145:32, called from undefined position:
while evaluating the attribute 'handled' at /nixpkgs/pkgs/stdenv/generic/check-meta.nix:300:7:
while evaluating 'handleEvalIssue' at /nixpkgs/pkgs/stdenv/generic/check-meta.nix:188:38, called from /nixpkgs/pkgs/stdenv/generic/check-meta.nix:301:14:
Package ‘libgcrypt-1.5.6’ in /nixpkgs/pkgs/development/libraries/libgcrypt/1.5.nix:37 is marked as insecure, refusing to evaluate.
Known issues:
- CVE-2014-3591
- CVE-2015-0837
- CVE-2015-7511
- CVE-2017-0379
- CVE-2017-7526
- CVE-2017-9526
- CVE-2018-0495
- CVE-2018-6829
- CVE-2018-12437
You can install it anyway by allowing this package, using the
following methods:
a) To temporarily allow all insecure packages, you can use an environment
variable for a single invocation of the nix tools:
$ export NIXPKGS_ALLOW_INSECURE=1
b) for `nixos-rebuild` you can add ‘libgcrypt-1.5.6’ to
`nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
like so:
{
nixpkgs.config.permittedInsecurePackages = [
"libgcrypt-1.5.6"
];
}
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
‘libgcrypt-1.5.6’ to `permittedInsecurePackages` in
~/.config/nixpkgs/config.nix, like so:
{
permittedInsecurePackages = [
"libgcrypt-1.5.6"
];
}
There are 144 unread and relevant news items.
Read them by running the command 'home-manager news'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment