document how to extend makes #36
Labels
No labels
dependencies
difficulty::high
difficulty::low
difficulty::medium
good first issue
help wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
justin/makes#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
there are some builtins people can invoke in makes.nix
for workflows not covered there people can create any combination of directories and files under the makes/ folder in their project. For each main.nix, at any location, an output is created and can be listed when running
m. The main.nix format is a function that receives some arguments:github.com/fluidattacks/makes@c9b3746494/src/modules/outputs/default.nix (L8)we should document all of this in a 'Extending makes' section
I am working in a virtual machine, each time I run a test it takes up an amount of space on my hard disk until I run out of available space (25 Gb)
I've been using
nix-collect-garbagebut this command only cleans about 1 or 2Gb and at some point I lose all available space on my VMIs there any method to clean all those temporary files from my hard disk?
Your repository HEAD is 479MB, you should optimize that if possible
Until we release a patch, you can do rm -rf /tmp/makes*
perfect, thx for suggestions
update makes, it's fixed now
When using makeDerivation I must use
touch "${out}"inside my builder.sh file if I don't do that I will get thisThis generates a blank file that is kept when the test has finished,
Is this file necessary?
Is it possible to prevent the file from being kept in my directory using makes, or it is necessary to delete it using bash in my case?
you can add the result* files to the gitignore
by design a derivation must produce an output, the smallest one is
touch $outit's a small price to pay for the benefits makeDerivation has
The module system has been documented,
Gonna document the arguments now