759947bf72
On nix-env -qa -f '<nixpkgs>', this reduces maximum RSS by 20970 KiB and runtime by 0.8%. This is mostly because we're not parsing the hash part as a hash anymore (just validating that it consists of base-32 characters). Also, replace storePathToHash() by StorePath::hashPart().
14 lines
397 B
Makefile
14 lines
397 B
Makefile
ifeq ($(OS), Darwin)
|
|
programs += resolve-system-dependencies
|
|
endif
|
|
|
|
resolve-system-dependencies_DIR := $(d)
|
|
|
|
resolve-system-dependencies_INSTALL_DIR := $(libexecdir)/nix
|
|
|
|
resolve-system-dependencies_CXXFLAGS += -I src/libutil -I src/libstore -I src/libmain
|
|
|
|
resolve-system-dependencies_LIBS := libstore libmain libutil
|
|
|
|
resolve-system-dependencies_SOURCES := $(d)/resolve-system-dependencies.cc
|