diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-12-06 12:10:31 +0100 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2023-12-06 12:10:31 +0100 |
commit | 2c942c78c61e2ffb84382d2efe41180710939836 (patch) | |
tree | 5faf5a0557ce6ca8768ebee12f7510a59573686a | |
parent | e39d148af75225b0d46cc63f15bad853a7a5ce6a (diff) | |
download | fork-ledger-2c942c78c61e2ffb84382d2efe41180710939836.tar.gz fork-ledger-2c942c78c61e2ffb84382d2efe41180710939836.tar.bz2 fork-ledger-2c942c78c61e2ffb84382d2efe41180710939836.zip |
acprep: Add support for nix develop on macOS
-rwxr-xr-x | acprep | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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'): |