[Nix-dev] Cycle detected in references when building systemd

Jan Synáček jan.synacek at gmail.com
Mon Oct 10 11:57:35 CEST 2016


Hello,

I'm trying to build the current master of systemd. I only slightly modified
pkgs/os-specific/linux/systemd/default.nix (set "version" to 'master',
set "rev" to 7a9ee77204c2bd18ab6d0236ba17b6439ec76b46, "sha256" to
1s9d4ipg39718bvwrcr9vz8p07rwy5hcspc0qmp04p2zhxhcd2xx and removed the
"patches" section).

When I try building the package like so:

1) cd src/nixpkgs
2) NIX_PATH=$(pwd) nix-build -K -A systemd

I get the following:
...
cycle detected in the references of
‘/nix/store/2ipa3ipr85ywzq61366cg7ymk7n6bqg6-systemd-master-lib’
note: keeping build directory ‘/tmp/nix-build-systemd-master.drv-2’
error: build of
‘/nix/store/nxwwpnpnmif1hnb9msgbly4bn15yahx6-systemd-master.drv’
failed

How do I figure out where the cycle is and what rpaths (it's the
problem, right?) remove or add?

Cheers,
-- 
Jan Synáček


More information about the nix-dev mailing list