# nix scans output for hashes to determine runtime dependencies,
  # so putting the paths into a text file will keep them from being
  # collected as long as dummySourcesRoot is in system generation
  system.extraDependencies = with builtins; [
    (pkgs.linkFarm "dummySourcesRoot"
      (lib.mapAttrsToList
        (k: v: { name = k; path = toString v; })
        pkgs.sources.fixedSources))
  ];