-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
formatter: init at 0.3.0 #70512
formatter: init at 0.3.0 #70512
Conversation
The licenses in the preambles seem to be all mixed up And COPYING said GPL 2.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README.md mentions that it needs hfsprogs
but it doesn't need it at build-time.
It actually needs various executable formatters to be in PATH
https://github.com/Djaler/Formatter/blob/master/src/Objects/DeviceFormatter.vala#L64
mkfs.ext4
etc.
What we prefer to do is to create patches like
for this.
A breakdown of how you can do this is like the following
- clone https://github.com/Djaler/Formatter
- checkout repo to the release tag
- patch calls to mkfs.* to placeholders like
@fat@
sosubstituteAll
can replace them.
Here's the documentation onsubstituteAll
:
- https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L778
- https://github.com/NixOS/nixpkgs/tree/master/pkgs/build-support/substitute
(not well documented if you can tell 😄 )
git diff @ > path_in_nixpkgs/fix-paths.patch
- Use the builder function in the expression
We basically do substituteAll
on the patch which then gets applied.
Note: don't patch in |
Thanks for the breakdown (which, unlike |
That is why I was a bit confused. I was hopping that my PR about the GPL 2.0 |
I've asked for further clarification Djaler/Formatter#55 (comment).
No problem 👍 I've referenced it at #65252, so until I get the moment to write the docs, maybe some one could discover that comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can format a device with the program.
We're just currently waiting on license clarification.
So mergers don't merge this until that's resolved.
merged in b99357e with the corrected license. |
Motivation for this change
Add more curated apps from Elementary OS app store for Pantheon Desktop.
Currently not sure about the license, I opened a PR: Djaler/Formatter#55Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @