Merge pull request #110395 from zowoq/gemset

master
Sandro 2021-01-22 09:31:07 +01:00 committed by GitHub
commit 9a92886922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
89 changed files with 97 additions and 91 deletions

View File

@ -58,9 +58,6 @@ indent_size = unset
[eggs.nix]
trim_trailing_whitespace = unset
[gemset*.nix]
insert_final_newline = unset
[nixos/modules/services/networking/ircd-hybrid/*.{conf,in}]
trim_trailing_whitespace = unset

View File

@ -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 ];