diff options
-rw-r--r-- | src/libstore/pathlocks.cc | 1 | ||||
-rw-r--r-- | tests/post-hook.sh | 2 | ||||
-rwxr-xr-x | tests/push-to-store.sh (renamed from tests/push_to_store.sh) | 0 |
3 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/pathlocks.cc b/src/libstore/pathlocks.cc index b6d8547c70e6..2635e3940af8 100644 --- a/src/libstore/pathlocks.cc +++ b/src/libstore/pathlocks.cc @@ -5,6 +5,7 @@ #include <cerrno> #include <cstdlib> +#include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/file.h> diff --git a/tests/post-hook.sh b/tests/post-hook.sh index 3f82d0c5e662..a026572154db 100644 --- a/tests/post-hook.sh +++ b/tests/post-hook.sh @@ -5,7 +5,7 @@ clearStore export REMOTE_STORE=$TEST_ROOT/remote_store # Build the dependencies and push them to the remote store -nix-build dependencies.nix --post-build-hook $PWD/push_to_store.sh +nix-build -o $TEST_ROOT/result dependencies.nix --post-build-hook $PWD/push-to-store.sh clearStore diff --git a/tests/push_to_store.sh b/tests/push-to-store.sh index d97eb095dd74..d97eb095dd74 100755 --- a/tests/push_to_store.sh +++ b/tests/push-to-store.sh |