Skip to content

Instantly share code, notes, and snippets.

@matthew-piziak
Created March 6, 2020 14:54
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 matthew-piziak/48f233fc3aa08dacd2151bae299e37d7 to your computer and use it in GitHub Desktop.
Save matthew-piziak/48f233fc3aa08dacd2151bae299e37d7 to your computer and use it in GitHub Desktop.
[sudo] password for matt:
unpacking channels...
building Nix...
building the system configuration...
error: while evaluating the attribute 'config.system.build.toplevel' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/nixos/modules/system/activation/top-level.nix:274:5:
while evaluating 'foldr' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/lists.nix:52:20, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/nixos/modules/system/activation/top-level.nix:138:12:
while evaluating 'fold'' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/lists.nix:55:15, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/lists.nix:59:8:
while evaluating 'showWarnings' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/trivial.nix:302:28, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/nixos/modules/system/activation/top-level.nix:135:10:
while evaluating 'foldr' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/lists.nix:52:20, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/trivial.nix:302:33:
while evaluating 'fold'' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/lists.nix:55:15, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/lists.nix:59:8:
while evaluating the attribute 'warnings' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:84:45, called from undefined position:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:379:9:
while evaluating the option `warnings':
while evaluating the attribute 'mergedValue' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:411:5:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:405:9:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:505:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:391:28, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:391:17:
while evaluating 'dischargeProperties' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:464:25, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:392:62:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:277:44:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/attrsets.nix:234:10, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/nixos/modules/system/boot/systemd.nix:808:51, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/attrsets.nix:234:16:
while evaluating 'optional' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/lists.nix:254:20, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/nixos/modules/system/boot/systemd.nix:809:7:
while evaluating the attribute 'serviceConfig.Type' at undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:84:45, called from undefined position:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:379:9:
while evaluating the option `systemd.services.syslog.serviceConfig':
while evaluating the attribute 'mergedValue' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:411:5:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:413:22, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:413:9:
while evaluating 'merge' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/types.nix:292:20, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:416:12:
while evaluating 'filterAttrs' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/attrsets.nix:124:23, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/types.nix:293:35:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/attrsets.nix:125:29, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/attrsets.nix:125:18:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/types.nix:293:51, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/attrsets.nix:125:62:
while evaluating the attribute 'ExecStart' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/attrsets.nix:344:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/types.nix:293:86, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/attrsets.nix:344:15:
while evaluating the attribute 'optionalValue' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:424:5:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:405:9:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:505:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:391:28, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:391:17:
while evaluating 'dischargeProperties' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:464:25, called from /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/modules.nix:392:62:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/lib/types.nix:297:60:
while evaluating the attribute 'buildInputs' of the derivation 'rsyslog-8.2001.0' at /nix/store/fgf01ai5mnqzmn8q6y0kax35rg4szgmq-nixpkgs-20.03beta448.1f99fd2fdbe/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'buildInputs' of the derivation 'libksi-3.20.3025' at /nix/store/fgf01ai5mnqzmn8q6y0kax35rg4szgmq-nixpkgs-20.03beta448.1f99fd2fdbe/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:191:11:
while evaluating the attribute 'handled' at /nix/store/fgf01ai5mnqzmn8q6y0kax35rg4szgmq-nixpkgs-20.03beta448.1f99fd2fdbe/nixpkgs/pkgs/stdenv/generic/check-meta.nix:251:7:
while evaluating 'handleEvalIssue' at /nix/store/fgf01ai5mnqzmn8q6y0kax35rg4szgmq-nixpkgs-20.03beta448.1f99fd2fdbe/nixpkgs/pkgs/stdenv/generic/check-meta.nix:147:38, called from /nix/store/fgf01ai5mnqzmn8q6y0kax35rg4szgmq-nixpkgs-20.03beta448.1f99fd2fdbe/nixpkgs/pkgs/stdenv/generic/check-meta.nix:252:14:
Package ‘openssl-1.0.2u’ in /nix/store/fgf01ai5mnqzmn8q6y0kax35rg4szgmq-nixpkgs-20.03beta448.1f99fd2fdbe/nixpkgs/pkgs/development/libraries/openssl/default.nix:130 is marked as insecure, refusing to evaluate.
Known issues:
- Support for OpenSSL 1.0.2 ended with 2019.
You can install it anyway by whitelisting this package, using the
following methods:
a) for `nixos-rebuild` you can add ‘openssl-1.0.2u’ to
`nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
like so:
{
nixpkgs.config.permittedInsecurePackages = [
"openssl-1.0.2u"
];
}
b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
‘openssl-1.0.2u’ to `permittedInsecurePackages` in
~/.config/nixpkgs/config.nix, like so:
{
permittedInsecurePackages = [
"openssl-1.0.2u"
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment