TODO: make trialing easier 😅 … & add to Nixpkgs!
From source
If you don’t have Darcs installed, you can use from Nixpkgs such as
$ nix-shell -p darcs
After/else clone from one of the mirrors
$ darcs clone https://darcs.toastal.in.th/nixtamal/stable/ nixtamal
Then change directory to the project & set up
$ cd nixtamal $ darcs setpref boringfile .boring
Now build!
$ nix-build $ result/bin/nixtamal --help
You can optionally install as Nix profile
$ nix profile add $(nix-build)
Add overlay
With access to nixtamal (even if from nixtamal/result/bin), you can now bootstrap yourself to add the overlay to a system
$ nixtamal set-up … $ nixtamal tweak
With the manifest.kdl open, add (mirrors coming soon!)
inputs { nixtamal { darcs { repository "https://darcs.toastal.in.th/nixtamal/stable" } fresh-cmd { $ curl -sL "https://darcs.toastal.in.th/nixtamal/stable/_darcs/weak_hash" } } }
Which can can now be used for adding the overlay
let # imports the lockfile thru default.nix shim inputs = import .nix/tamal { }; pkgs = import inputs.nixpkgs { overlays = [ # apply our overlay Nixpkgs (import "${inputs.nixtamal}/nix/overlay") ]; }; in pkgs.nixtamal