diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-01-22 07:08:33 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-01-22 07:18:04 +1000 |
commit | 0ebfeaeca15e58909aa91237489beadb277b2349 (patch) | |
tree | ca3f164b44fb178993c160d42637f3835f9bd024 /pkgs/development/ruby-modules | |
parent | 91a799fa82ef817d88f913084622c3f1235c96ae (diff) | |
download | nixpkgs-0ebfeaeca15e58909aa91237489beadb277b2349.tar nixpkgs-0ebfeaeca15e58909aa91237489beadb277b2349.tar.gz nixpkgs-0ebfeaeca15e58909aa91237489beadb277b2349.tar.bz2 nixpkgs-0ebfeaeca15e58909aa91237489beadb277b2349.tar.lz nixpkgs-0ebfeaeca15e58909aa91237489beadb277b2349.tar.xz nixpkgs-0ebfeaeca15e58909aa91237489beadb277b2349.tar.zst nixpkgs-0ebfeaeca15e58909aa91237489beadb277b2349.zip |
bundix: add final newline patch
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r-- | pkgs/development/ruby-modules/bundix/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/bundix/default.nix b/pkgs/development/ruby-modules/bundix/default.nix index 34114ad9a4f..f3ac42b9406 100644 --- a/pkgs/development/ruby-modules/bundix/default.nix +++ b/pkgs/development/ruby-modules/bundix/default.nix @@ -1,5 +1,5 @@ { buildRubyGem, fetchFromGitHub, makeWrapper, lib, bundler, nix, - nix-prefetch-git }: + nix-prefetch-git, fetchpatch }: buildRubyGem rec { inherit (bundler) ruby; @@ -15,6 +15,15 @@ buildRubyGem rec { sha256 = "05y8sy6v9km1dwvpjzkjxpfzv95g6yzac1b5blac2f1r2kw167p8"; }; + patches = [ + # write trailing newline to gemset.nix + # https://github.com/nix-community/bundix/pull/78 + (fetchpatch { + url = "https://github.com/nix-community/bundix/commit/02ca7a6c656a1e5e5465ad78b31040d82ae1a7e6.patch"; + sha256 = "18r30icv7r79dlmxz1d1qlk5b6c7r257x23sqav55yhfail9hqrb"; + }) + ]; + buildInputs = [ ruby bundler ]; nativeBuildInputs = [ makeWrapper ]; |