-
-
Notifications
You must be signed in to change notification settings - Fork 14.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
ciel: init at 3.1.3 #220006
ciel: init at 3.1.3 #220006
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
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 think cargo.lock should be added to the upstream repository instead of nixpkgs. Maybe you can communicate with the upstream.
Just removed Cargo.lock in this repo. |
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.
Overall LGTM. Please squash the commits.
mv -v "$out/bin/ciel-rs" "$out/bin/ciel" | ||
env PREFIX="$out/" ./install-assets.sh | ||
# FIXME: remove line below after https://github.com/AOSC-Dev/ciel-rs/pull/15 merged | ||
mv -v $out/share/fish/completions $out/share/fish/vendor_completions.d |
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.
Please use installShellCompletion
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 switching to installShellCompletion
. However, now I can't use ./install-assets.sh
anymore and is manually copying plugins.
Please squash these commits as one. |
Result of 1 package built:
|
# FIXME: remove patch below after https://github.com/AOSC-Dev/ciel-rs/pull/16 is merged | ||
./0001-use-canonicalize-path-to-find-libexec.patch |
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.
just use fetchpatch
(keep the link to upstream PR as well as the PR title in the comment)
postPatch = '' | ||
patchShebangs --build ./install-assets.sh | ||
''; |
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.
No longer required.
install -d "$out/libexec/ciel-plugin" | ||
install -Dvm755 plugins/* "$out/libexec/ciel-plugin" |
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.
install -d "$out/libexec/ciel-plugin" | |
install -Dvm755 plugins/* "$out/libexec/ciel-plugin" | |
install -Dm555 -t "$out/libexec/ciel-plugin" plugins/* |
Result of 1 package built:
Successfully created package of |
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.
checked build output.
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)