Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration does not build #1582

Closed
ghost opened this issue Oct 31, 2020 · 1 comment
Closed

Configuration does not build #1582

ghost opened this issue Oct 31, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 31, 2020

Issue description

I installed home-manager through systemPackages and it seems to have the same effect when installing it manually.

Running home-manager switch gives build errors.

these derivations will be built:
  /nix/store/2ms4h8fmzaqfap5g059mnkabhw25d0nm-manual-combined.drv
  /nix/store/68gkvdqk59735y2rx06i08rhz9jb9rzk-unrar-5.9.2.drv
  /nix/store/6f69sdhn32v0v4cqhd0bw5fgpx2s39n8-manual-olinkdb.drv
  /nix/store/cb7ghfjr8xp1g5293rrxcv8ccjhqxid1-man-pages.drv
  /nix/store/km5l0vx8g6j3vjjjj02mrgzy0xhsyvhf-thunderbird-78.4.0.drv
  /nix/store/6pkkx5mvmz8rw3m938b7kic52s1hrzrl-teams_1.3.00.16851_amd64.deb.drv
  /nix/store/y5cq5d6w28z83hcf8i0yw3srlv1g2f8m-teams-1.3.00.16851.drv
  /nix/store/5bxw2qjd0fqb24x973p2rs5rm23blmgn-home-manager-path.drv
  /nix/store/ilngcnhnb5pxajc3nazpsk17wbapf756-activation-script.drv
  /nix/store/i5jv81xl9k571rs21sq85j56q7man5mh-home-manager-generation.drv
building '/nix/store/km5l0vx8g6j3vjjjj02mrgzy0xhsyvhf-thunderbird-78.4.0.drv'...
building '/nix/store/68gkvdqk59735y2rx06i08rhz9jb9rzk-unrar-5.9.2.drv'...
building '/nix/store/2ms4h8fmzaqfap5g059mnkabhw25d0nm-manual-combined.drv'...
building '/nix/store/6pkkx5mvmz8rw3m938b7kic52s1hrzrl-teams_1.3.00.16851_amd64.deb.drv'...
unpacking sources
unpacking source archive /nix/store/xikq8r9hmczcdy78gi78fngik977hs4b-unrarsrc-5.9.2.tar.gz
source root is unrar
setting SOURCE_DATE_EPOCH to timestamp 1585217074 of file unrar/win32stm.cpp
patching sources
configuring
no configure script, doing nothing
building
g++  -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rar.cpp
g++  -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c strlist.cpp

trying https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/teams_1.3.00.16851_amd64.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
g++  -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c strfn.cpp

/nix/store/8a4av253s8bl6rmzz3lv5gbwwz1rpfpj-manual-combined/manual-combined.xml:11069: element xref: validity error : IDREF attribute linkend references an unknown ID "opt-home.file._name__.source"
 11065  <simpara>This release has the following notable changes:</simpara>
 11066  <itemizedlist>
 11067  <listitem>
 11068  <simpara>
 11069  The <xref linkend="opt-home.file._name__.source"/> option now allows source files to be
 11070  hidden, that is, having a name starting with the <literal>.</literal> character. It
 11071  also allows the source file name to contain characters not typically

/nix/store/8a4av253s8bl6rmzz3lv5gbwwz1rpfpj-manual-combined/manual-combined.xml fails to validate
builder for '/nix/store/2ms4h8fmzaqfap5g059mnkabhw25d0nm-manual-combined.drv' failed with exit code 3
cannot build derivation '/nix/store/cb7ghfjr8xp1g5293rrxcv8ccjhqxid1-man-pages.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5bxw2qjd0fqb24x973p2rs5rm23blmgn-home-manager-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/i5jv81xl9k571rs21sq85j56q7man5mh-home-manager-generation.drv': 1 dependencies couldn't be built
error: build of '/nix/store/i5jv81xl9k571rs21sq85j56q7man5mh-home-manager-generation.drv' failed

Technical details

 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.72, NixOS, 20.09.1500.edb26126d98 (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.7`
 - channels(eon): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@rycee
Copy link
Member

rycee commented Oct 31, 2020

You are using an old version of Home Manager with a recent version of NixOS. See #1479.

@rycee rycee closed this as completed Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant