-
-
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
it-tools: init at 2024.10.22-7ca5933 #350285
Conversation
Hello, this is my first time contributing to nixpkgs, so please let me know if there is anything I've missed, thanks! |
fc9ed4f
to
80ab88f
Compare
80ab88f
to
b566f7c
Compare
503c6a8
to
5a7d809
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.
Can't review at the moment due to #353709
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.
A few minor things and questions but the diff LGTM.
@74k1 could you verify that this works as expected?
buildPhase = '' | ||
runHook preBuild | ||
|
||
pnpm build | ||
|
||
runHook postBuild | ||
''; |
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'm not very familiar with pnpm but doesn't our hook run this by default, making this redundant?
cc @Scrumplex
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.
From my testing, this does not seem to be the case, but I can obviously be corrected by someone more knowledgeable.
installPhase = '' | ||
runHook preInstall | ||
|
||
mkdir -p $out/lib | ||
cp -R ./dist/* $out/lib/ | ||
|
||
runHook postInstall | ||
''; |
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.
Same question here.
Hi @Atemu |
That's exactly what I wanted to know, thanks :) |
Add it-tools, a website with useful tools for developers and people working in IT.
Fixes #348389 .
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.