nixpkgs/pkgs
Maximilian Bosch 9fcd3bffc2 buildEnv: improve file check to avoid false-positives
The original change in #55372 was supposed to fix the case where a store
path which is a file should be placed into `buildEnv` which broke with a
fairly misleading Perl error.

Unfortunately this introduced a regression, `findFiles` can have targets
that are files if the file isn't a store path. Rather than adding more
obscure checks with probably further regressions, I figured that it's
better to replicate the behavior of `lib.isStorePath` and explicitly
check if the store path is a file and break in this case only.

This should also fix recent staging issues.
2019-02-21 10:37:42 +01:00
..
applications Merge staging-next into staging 2019-02-21 07:54:33 +01:00
build-support buildEnv: improve file check to avoid false-positives 2019-02-21 10:37:42 +01:00
common-updater common-update-scripts: fixup for current/latest nix hash output 2019-02-11 17:54:35 -06:00
data Merge master into staging-next 2019-02-16 09:29:54 +01:00
desktops Merge staging-next into staging 2019-02-21 07:54:33 +01:00
development Merge staging-next into staging 2019-02-21 07:54:33 +01:00
games Merge remote-tracking branch 'NixOS/master' into staging 2019-02-18 20:36:48 -05:00
misc Merge staging-next into staging 2019-02-21 07:54:33 +01:00
os-specific Merge staging-next into staging 2019-02-21 07:54:33 +01:00
servers Merge staging-next into staging 2019-02-21 07:54:33 +01:00
shells oil: 0.3.0 -> 0.6.pre15 2019-02-19 12:07:52 +01:00
stdenv Merge remote-tracking branch 'origin/master' into staging 2019-02-09 12:14:06 -05:00
test
tools Merge staging-next into staging 2019-02-21 07:54:33 +01:00
top-level Merge staging-next into staging 2019-02-21 07:54:33 +01:00