Installation
-
???+ tip
We recommend getting the Multi-user installation for compatibility. -
Install Makes:
nix-env -if https://github.com/fluidattacks/makes/archive/24.12.tar.gz
Quickstart
-
Create a
makes.nixfile in your project root:=== "makes.nix"
{ makeScript, ...}: { jobs = { "/helloWorld" = makeScript { name = "helloWorld"; entrypoint = "echo 'Hello World!'"; }; }; }
-
Invoke it with the
mcommand while standing in the project root: -
Explore Essentials and Core functions for more complex cases like creating production/development environments, and CI/CD jobs.
-
Explore CLI and Container for invoking makes in different scenarios and environments.
Importing via Nix
You can also import Makes from Nix:
let # Import the framework makes = import "${builtins.fetchTarball { sha256 = ""; # Tarball sha256 url = "https://api.github.com/repos/fluidattacks/makes/tarball/24.12"; }}/src/args/agnostic.nix" { }; in # Use the framework makes.makePythonEnvironment { pythonProjectDir = ./.; pythonVersion = "3.11"; }
For a detailed list of available utilities check out Makes' agnostic args.