anchor.diff:          "DEFAULT_INITCONF_DIR=\${out}/default"
         ];
   
  -      postInstall = ''
  -        # Prevent kernel modules from depending on the Linux -dev output.
  -        nuke-refs $(find $out -name "*.ko")
  +      postInstall = optionalString buildKernel ''
  +        # Add reference that cannot be detected due to compressed kernel module
  +        mkdir -p "$out/nix-support"
  +        echo "${utillinux}" >> "$out/nix-support/extra-refs"
         '' + optionalString buildUser ''
           # Remove provided services as they are buggy
           rm $out/etc/systemd/system/zfs-import-*.service
  
positive.code: { stdenv, fetchFromGitHub, autoreconfHook, utillinux, nukeReferences, coreutils
  , perl
  , configFile ? "all"
  
  # Userspace dependencies
  
negative.code:         "--with-systemdpresetdir=$(out)/etc/systemd/system-preset"
          "--with-systemdgeneratordir=$(out)/lib/systemd/system-generator"
          "--with-mounthelperdir=$(out)/bin"
          "--libexecdir=$(out)/libexec"
          "--sysconfdir=/etc"
          "--localstatedir=/var"
          "--enable-systemd"
        ] ++ optionals buildKernel ([
          "--with-linux=${kernel.dev}/lib/modules/${kernel.modDirVersion}/source"
          "--with-linux-obj=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
        ] ++ kernel.makeFlags);
  
        makeFlags = optionals buildKernel kernel.makeFlags;
  
        enableParallelBuilding = true;
  
  