-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
cubical-mini: init at nightly-20241214 #365340
Conversation
ad6db6b
to
6684f41
Compare
]; | ||
|
||
buildPhase = '' | ||
export HOME=$TMP |
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.
runHook preBuild
before and runHook postBuild
after
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.
Done.
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 point of preBuild
is generally to allow users to run commands before the buildPhase
. If we use it ourselves, then if a user tries to override it the package will not build any more. We should just move these commands to buildPhase
, between runHook preBuild
and make
.
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.
Also maybe add a comment explaining why this dance is needed (the Makefile uses cabal run ...
, and the default Cabal config makes it require an Internet connection).
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.
Changed and pushed.
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.
Also maybe add a comment explaining why this dance is needed (the Makefile uses
cabal run ...
, and the default Cabal config makes it require an Internet connection).
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.
Sorry I didn't see your second comment the first time, because I didn't refresh the GitHub page. One moment.
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.
Added the comment too.
6684f41
to
65f0f0d
Compare
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 don't have commit access, and don't maintain a similar package, so it doesn't make sense for me to leave an approving review. However I wouldn't want to block the PR in any way
My suggestion now would be to find someone who has merged a similar package into nixpkgs
recently, and request a review from them
65f0f0d
to
85d5f4e
Compare
85d5f4e
to
602677c
Compare
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.
Thanks!
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.