From 2c942c78c61e2ffb84382d2efe41180710939836 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Wed, 6 Dec 2023 12:10:31 +0100 Subject: acprep: Add support for nix develop on macOS --- acprep | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/acprep b/acprep index 1ebc0ef2..13032e39 100755 --- a/acprep +++ b/acprep @@ -515,6 +515,13 @@ class PrepareBuild(CommandLineApp): self.log.info('Looks like you are using Fink on macOS') self.log.error("I don't know the package names for Fink yet!") sys.exit(1) + elif shutil.which('nix'): + self.log.info('Looks like you are using Nixpkgs on macOS') + packages = [ + 'nix', 'develop', + ] + self.log.info('Executing: ' + ' '.join(packages)) + self.execute(*packages) elif system == 'Linux': if exists('/etc/issue'): -- cgit v1.2.3