Merged
Conversation
b4c1004 to
f27bd17
Compare
NickCao
reviewed
Nov 9, 2023
f27bd17 to
3cb99b3
Compare
NickCao
reviewed
Nov 10, 2023
3cb99b3 to
38c6282
Compare
Member
|
overall LGTM, still missing a fix for #249727 though. |
Contributor
Author
I only got that error with the previous version ( |
Member
|
I can partly reproduce the issue on my system: Maybe you have some leftover configuration files? |
Member
|
This helps: --- a/pkgs/tools/package-management/apx/default.nix
+++ b/pkgs/tools/package-management/apx/default.nix
@@ -23,10 +23,13 @@ buildGoModule rec {
substituteInPlace config/apx.json \
--replace "/usr/share/apx/distrobox" "${distrobox}/bin/distrobox" \
--replace "/usr/share/apx" "$out/bin/apx"
+
+ substituteInPlace settings/config.go \
+ --replace "/usr/share/apx/" "$out/share/apx/"
'';
postInstall = ''
- install -D config/apx.json -t $out/etc/apx/
+ install -D config/apx.json -t $out/share/apx/
install -D man/man1/apx.1 -t $out/man/man1/
''; |
This comment was marked as resolved.
This comment was marked as resolved.
38c6282 to
f30fdf2
Compare
Contributor
Author
Thanks. I had a local config file installed which stopped me from realising the global config wasn't being picked up. Thanks for the fix - that works well! Have pushed the changes. |
NickCao
approved these changes
Nov 10, 2023
Member
NickCao
left a comment
There was a problem hiding this comment.
Tested basic functionality following the instructions in Vanilla-OS/apx#261
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
apxis not working on NixOS #249727Ping @LennyLizowzskiy for testing
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)