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.
This hopefully solves #69
Works in tandem with https://github.com/kraem/nixpkgs/blob/bb4b2da585dd0186b3c1cec9fb9f7f9227cf428c/pkgs/development/ruby-modules/gem/default.nix#L67-L70I'll create a PR in
nixpkgs
for that as soon as this has been reviewed and approved 👍edit
Apparently the bin wrappers innixpkgs
for gems needs some more work before this is ready. The gems gets installed, but in in the wrong path in/nix/store
./edit
edit2
Now works in tandem with this fork
nixpkgs
. Haven't tried with private git gems that have executables yet./edit2
The responsibility for fetching the repo and calculating a
sha256
is now transfered tonix
'sbuiltins.fetchGit
which doesn't do it in a sandbox but can use the current usersssh
credentials.All gems fetched from git now gets the type
buitlins-git
, but the old typegit
is saved inbundlerEnv
for backwards compatibility.Thanks a lot for your time to explain how all of this fits together @manveru
I haven't written many lines ruby before so I'm sure there are a lot of things that could look nicer.