mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
nix build: Fix realising a store path
This commit is contained in:
parent
d1c6e0fe8c
commit
bfef3ec855
1 changed files with 3 additions and 1 deletions
|
@ -267,7 +267,9 @@ Buildables toBuildables(ref<Store> store, RealiseMode mode,
|
|||
outputNames.insert(output.first);
|
||||
pathsToBuild.insert(
|
||||
b.drvPath + "!" + concatStringsSep(",", outputNames));
|
||||
}
|
||||
} else
|
||||
for (auto & output : b.outputs)
|
||||
pathsToBuild.insert(output.second);
|
||||
buildables.push_back(std::move(b));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue