mirror of
https://github.com/nix-community/naersk
synced 2024-11-22 19:53:05 +00:00
Make sure all local files are 'touch'ed
This commit is contained in:
parent
65e8bba46a
commit
af439f6830
1 changed files with 5 additions and 4 deletions
|
@ -212,6 +212,10 @@ let
|
||||||
|
|
||||||
mkdir -p target
|
mkdir -p target
|
||||||
|
|
||||||
|
# make sure that all source files are tagged as "recent" (since we write
|
||||||
|
# some stubs here and there)
|
||||||
|
find . -type f -exec touch {} +
|
||||||
|
|
||||||
for dep in $builtDependencies; do
|
for dep in $builtDependencies; do
|
||||||
log "pre-installing dep $dep"
|
log "pre-installing dep $dep"
|
||||||
if [ -d "$dep/target" ]; then
|
if [ -d "$dep/target" ]; then
|
||||||
|
@ -236,9 +240,6 @@ let
|
||||||
|
|
||||||
echo "$cargoconfig" > $CARGO_HOME/config
|
echo "$cargoconfig" > $CARGO_HOME/config
|
||||||
|
|
||||||
# TODO: figure out why "1" works whereas "0" doesn't
|
|
||||||
find . -type f -exec touch --date=@1 {} +
|
|
||||||
|
|
||||||
runHook postConfigure
|
runHook postConfigure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue