about summary refs log tree commit diff
path: root/src/nix-env/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-env/Makefile')
-rw-r--r--src/nix-env/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/Makefile b/src/nix-env/Makefile
index 04545231caf3..5a38d2fb76af 100644
--- a/src/nix-env/Makefile
+++ b/src/nix-env/Makefile
@@ -2,6 +2,6 @@ PROGRAMS += nix-env
 
 nix-env_DIR := $(d)
 
-nix-env_SOURCES = nix-env.cc profiles.cc user-env.cc
+nix-env_SOURCES := $(wildcard $(d)/*.cc)
 
 nix-env_LIBS = libexpr libmain libstore libutil libformat