diff options
Diffstat (limited to 'src/nix-env')
-rw-r--r-- | src/nix-env/Makefile.am | 12 | ||||
-rw-r--r-- | src/nix-env/local.mk | 7 | ||||
-rw-r--r-- | src/nix-env/user-env.cc | 2 |
3 files changed, 8 insertions, 13 deletions
diff --git a/src/nix-env/Makefile.am b/src/nix-env/Makefile.am deleted file mode 100644 index 4d3bd111d719..000000000000 --- a/src/nix-env/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -bin_PROGRAMS = nix-env - -nix_env_SOURCES = nix-env.cc profiles.cc profiles.hh user-env.cc user-env.hh - -nix_env_LDADD = ../libmain/libmain.la ../libexpr/libexpr.la \ - ../libstore/libstore.la ../libutil/libutil.la \ - ../boost/format/libformat.la - -AM_CXXFLAGS = \ - -I$(srcdir)/.. \ - -I$(srcdir)/../libutil -I$(srcdir)/../libstore \ - -I$(srcdir)/../libexpr -I$(srcdir)/../libmain -I../libexpr diff --git a/src/nix-env/local.mk b/src/nix-env/local.mk new file mode 100644 index 000000000000..e80719cd76f7 --- /dev/null +++ b/src/nix-env/local.mk @@ -0,0 +1,7 @@ +programs += nix-env + +nix-env_DIR := $(d) + +nix-env_SOURCES := $(wildcard $(d)/*.cc) + +nix-env_LIBS = libexpr libmain libstore libutil libformat diff --git a/src/nix-env/user-env.cc b/src/nix-env/user-env.cc index c2dab4f0c757..3a73f2647a6b 100644 --- a/src/nix-env/user-env.cc +++ b/src/nix-env/user-env.cc @@ -1,5 +1,5 @@ +#include "user-env.hh" #include "util.hh" -#include "get-drvs.hh" #include "derivations.hh" #include "store-api.hh" #include "globals.hh" |