about summary refs log tree commit diff
path: root/src/nix-hash/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-hash/Makefile')
-rw-r--r--src/nix-hash/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-hash/Makefile b/src/nix-hash/Makefile
index 462cd78d8c26..062e4d13b29e 100644
--- a/src/nix-hash/Makefile
+++ b/src/nix-hash/Makefile
@@ -2,6 +2,6 @@ PROGRAMS += nix-hash
 
 nix-hash_DIR := $(d)
 
-nix-hash_SOURCES = nix-hash.cc
+nix-hash_SOURCES := $(d)/nix-hash.cc
 
 nix-hash_LIBS = libmain libstore libutil libformat