From 563347a6db232664d197e37a6777a58c2394f095 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Tue, 19 Oct 2021 21:45:35 +0200 Subject: [PATCH] Makefile: assume a flake-capable Nix is installed --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index dca6695..1ab7983 100644 --- a/Makefile +++ b/Makefile @@ -49,12 +49,9 @@ sqlite: $(DB) # MARK: - data extraction helpers -NIX = $(shell nix-build --no-out-link -A nixFlakes '')/bin/nix -ACEXTRACT = $(shell \ - $(NIX) --experimental-features 'nix-command flakes' build --no-write-lock-file .\#acextract && \ +ACEXTRACT = $(shell nix build --no-write-lock-file .\#acextract && \ readlink result && rm result)/bin/acextract -DSCU = $(shell \ - $(NIX) --experimental-features 'nix-command flakes' build --no-write-lock-file .\#dyld-shared-cache && \ +DSCU = $(shell nix build --no-write-lock-file .\#dyld-shared-cache && \ readlink result && rm result)/bin/dyld_shared_cache_util dyld: /System/Library/dyld/dyld_shared_cache_$(shell uname -m)