From 068c9c6c53e65e9ef7ca12bf1784ffec9f433279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:09:22 +0100 Subject: [PATCH 01/31] r10k: use gemdir --- pkgs/tools/system/r10k/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/system/r10k/default.nix b/pkgs/tools/system/r10k/default.nix index 0695504cc012..95462e2c0035 100644 --- a/pkgs/tools/system/r10k/default.nix +++ b/pkgs/tools/system/r10k/default.nix @@ -8,9 +8,7 @@ stdenv.mkDerivation rec { env = bundlerEnv { name = "${name}-gems"; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; inherit ruby; }; From 4237a2bd18084cd72396f14f637f231a56ad47a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:10:47 +0100 Subject: [PATCH 02/31] reckon: use gemdir --- pkgs/tools/text/reckon/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/text/reckon/default.nix b/pkgs/tools/text/reckon/default.nix index b6340fd2df46..de03963a4128 100644 --- a/pkgs/tools/text/reckon/default.nix +++ b/pkgs/tools/text/reckon/default.nix @@ -7,9 +7,7 @@ stdenv.mkDerivation rec { env = bundlerEnv { name = "${name}-gems"; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; }; phases = [ "installPhase" ]; From 8c70770e3064e26e3aa1a994f141adfdb8e9a22e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:15:55 +0100 Subject: [PATCH 03/31] panamax_api: use gemdir --- pkgs/applications/networking/cluster/panamax/api/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/panamax/api/default.nix b/pkgs/applications/networking/cluster/panamax/api/default.nix index 2b801ec1acf3..3347af83585f 100644 --- a/pkgs/applications/networking/cluster/panamax/api/default.nix +++ b/pkgs/applications/networking/cluster/panamax/api/default.nix @@ -11,9 +11,7 @@ stdenv.mkDerivation rec { env = bundlerEnv { name = "panamax-api-gems-${version}"; inherit ruby; - gemset = ./gemset.nix; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; + gemdir = ./.; }; bundler = args.bundler.override { inherit ruby; }; From 57b06f45dba3764c74e8164d22445f92b34acdd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:17:06 +0100 Subject: [PATCH 04/31] ruby-zoom: use gemdir --- pkgs/tools/text/ruby-zoom/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/text/ruby-zoom/default.nix b/pkgs/tools/text/ruby-zoom/default.nix index eb3968a0db93..b939e1500e49 100644 --- a/pkgs/tools/text/ruby-zoom/default.nix +++ b/pkgs/tools/text/ruby-zoom/default.nix @@ -4,9 +4,7 @@ bundlerEnv { pname = "ruby-zoom"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; meta = with lib; { description = "Quickly open CLI search results in your favorite editor!"; From 246fd4c950a7333c9168863a33929af196868262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:17:50 +0100 Subject: [PATCH 05/31] maphosts: use gemdir --- pkgs/tools/networking/maphosts/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/networking/maphosts/default.nix b/pkgs/tools/networking/maphosts/default.nix index 08c56574dcf7..3a48814928e5 100644 --- a/pkgs/tools/networking/maphosts/default.nix +++ b/pkgs/tools/networking/maphosts/default.nix @@ -6,9 +6,7 @@ stdenv.mkDerivation rec { env = bundlerEnv { name = "maphosts-gems"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; }; phases = ["installPhase"]; From 53cd750ec6ff96eb87782ba441c733eb9444239f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:18:29 +0100 Subject: [PATCH 06/31] backup: use gemdir --- pkgs/tools/backup/backup/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/backup/backup/default.nix b/pkgs/tools/backup/backup/default.nix index 1890e8121c18..20c96b65a624 100644 --- a/pkgs/tools/backup/backup/default.nix +++ b/pkgs/tools/backup/backup/default.nix @@ -4,9 +4,7 @@ bundlerEnv { name = "backup_v4"; ruby = ruby_2_1; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; buildInputs = [ curl ]; From d16aefb405b686e404275bcffe65f978afc21bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:19:14 +0100 Subject: [PATCH 07/31] mpdcron: use gemdir --- pkgs/tools/audio/mpdcron/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/audio/mpdcron/default.nix b/pkgs/tools/audio/mpdcron/default.nix index a8556c4ada12..49425cf65b77 100644 --- a/pkgs/tools/audio/mpdcron/default.nix +++ b/pkgs/tools/audio/mpdcron/default.nix @@ -4,9 +4,7 @@ let gemEnv = bundlerEnv { name = "mpdcron-bundle"; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; }; in stdenv.mkDerivation rec { version = "20130809"; From bf99d330adc11c0190ab5b23058b2cf42a76d719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:20:34 +0100 Subject: [PATCH 08/31] homesick: use gemdir --- pkgs/tools/misc/homesick/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/misc/homesick/default.nix b/pkgs/tools/misc/homesick/default.nix index da167026ade5..81e417ee5abd 100644 --- a/pkgs/tools/misc/homesick/default.nix +++ b/pkgs/tools/misc/homesick/default.nix @@ -2,9 +2,7 @@ bundlerEnv { name = "homesick-1.1.3"; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; # Cannot use `wrapProgram` because the the help is aware of the file name. postInstall = '' From 18fbdf14cdb5fc99fb13be206dccf8f7730a12e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:21:16 +0100 Subject: [PATCH 09/31] pws: use gemdir --- pkgs/tools/misc/pws/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/misc/pws/default.nix b/pkgs/tools/misc/pws/default.nix index ac4f4524b992..7294c61da8fa 100644 --- a/pkgs/tools/misc/pws/default.nix +++ b/pkgs/tools/misc/pws/default.nix @@ -8,9 +8,7 @@ stdenv.mkDerivation rec { inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; }; buildInputs = [ makeWrapper ]; From f2d6af23393878af5ee77f4beb6f6d3035a8732f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:22:26 +0100 Subject: [PATCH 10/31] consul: use gemdir --- pkgs/servers/consul/ui.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/servers/consul/ui.nix b/pkgs/servers/consul/ui.nix index a61b8baac867..caf3792e9831 100644 --- a/pkgs/servers/consul/ui.nix +++ b/pkgs/servers/consul/ui.nix @@ -4,9 +4,7 @@ let # `sass` et al gems = bundlerEnv { name = "consul-ui-deps"; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; }; in From ed608a33844cc577ec89eb2319e33c2d1c430042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:23:01 +0100 Subject: [PATCH 11/31] sensu: use gemdir --- pkgs/servers/monitoring/sensu/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/sensu/default.nix b/pkgs/servers/monitoring/sensu/default.nix index 2bb81d833372..ecc1d4109843 100644 --- a/pkgs/servers/monitoring/sensu/default.nix +++ b/pkgs/servers/monitoring/sensu/default.nix @@ -4,9 +4,7 @@ name = "sensu-0.17.1"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; meta = with lib; { description = "A monitoring framework that aims to be simple, malleable, and scalable"; From 2cf82c006942a287990867b79bad8dae4b258940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:23:36 +0100 Subject: [PATCH 12/31] panamax_ui: use gemdir --- pkgs/applications/networking/cluster/panamax/ui/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/panamax/ui/default.nix b/pkgs/applications/networking/cluster/panamax/ui/default.nix index fbeb3de810f3..4a6481e3e5ee 100644 --- a/pkgs/applications/networking/cluster/panamax/ui/default.nix +++ b/pkgs/applications/networking/cluster/panamax/ui/default.nix @@ -10,9 +10,7 @@ stdenv.mkDerivation rec { env = bundlerEnv { name = "panamax-ui-gems-${version}"; inherit ruby; - gemset = ./gemset.nix; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; + gemdir = ./.; }; bundler = args.bundler.override { inherit ruby; }; From 27f91b30aa5f13f09068c3f46f06e76ede341044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:24:17 +0100 Subject: [PATCH 13/31] ppl-address-book: use gemdir --- pkgs/applications/office/ppl-address-book/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/office/ppl-address-book/default.nix b/pkgs/applications/office/ppl-address-book/default.nix index 1c48fc50842d..f15affaa8d67 100644 --- a/pkgs/applications/office/ppl-address-book/default.nix +++ b/pkgs/applications/office/ppl-address-book/default.nix @@ -8,9 +8,7 @@ let env = bundlerEnv rec { name = "${pname}-env-${version}"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; gemConfig.rugged = attrs: { buildInputs = [ which ]; }; }; From 062f905906b4e37294819f10c9b1511e396eccaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:26:00 +0100 Subject: [PATCH 14/31] matter-compiler: use gemdir --- pkgs/development/compilers/matter-compiler/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/compilers/matter-compiler/default.nix b/pkgs/development/compilers/matter-compiler/default.nix index 12da620fe5bd..58fb0ca22d7c 100644 --- a/pkgs/development/compilers/matter-compiler/default.nix +++ b/pkgs/development/compilers/matter-compiler/default.nix @@ -5,9 +5,7 @@ bundlerEnv { name = "matter_compiler-0.5.1"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; meta = with lib; { description = '' From dd91891bd952eaaa763ba3d919f7456ac6a7cd6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:26:30 +0100 Subject: [PATCH 15/31] gitlab: use gemdir --- pkgs/applications/version-management/gitlab/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix index 6c2b42ddbc51..659e002dfb6e 100644 --- a/pkgs/applications/version-management/gitlab/default.nix +++ b/pkgs/applications/version-management/gitlab/default.nix @@ -9,9 +9,7 @@ let env = bundlerEnv { name = "gitlab"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; meta = with lib; { homepage = http://www.gitlab.com/; platforms = platforms.linux; From d824aeb196ad1f1b54c47588d234c3852216fa5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:27:07 +0100 Subject: [PATCH 16/31] compass: use gemdir --- pkgs/development/tools/compass/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/tools/compass/default.nix b/pkgs/development/tools/compass/default.nix index 9b21ec48c1c6..f96d3e810ca5 100644 --- a/pkgs/development/tools/compass/default.nix +++ b/pkgs/development/tools/compass/default.nix @@ -4,9 +4,7 @@ bundlerEnv { name = "compass-1.0.3"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; meta = with lib; { description = "Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain"; From 2871ff7d9b67638f5fcade4b95533edc87d066c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:27:55 +0100 Subject: [PATCH 17/31] timetrap: use gemdir --- pkgs/applications/office/timetrap/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/office/timetrap/default.nix b/pkgs/applications/office/timetrap/default.nix index f6a408d03842..e68c753750f5 100644 --- a/pkgs/applications/office/timetrap/default.nix +++ b/pkgs/applications/office/timetrap/default.nix @@ -4,9 +4,7 @@ bundlerEnv { name = "timetrap-1.10.0"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; meta = { description = "A simple command line time tracker written in ruby"; From 50a4b39b1ec6e286e0b3c10a2d284e4ba31cfdc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:28:26 +0100 Subject: [PATCH 18/31] jekyll: use gemdir --- pkgs/applications/misc/jekyll/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/misc/jekyll/default.nix b/pkgs/applications/misc/jekyll/default.nix index e9536055ca3b..b06a28513b82 100644 --- a/pkgs/applications/misc/jekyll/default.nix +++ b/pkgs/applications/misc/jekyll/default.nix @@ -5,9 +5,7 @@ bundlerEnv rec { version = "3.0.1"; ruby = ruby_2_2; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; meta = with lib; { description = "Simple, blog aware, static site generator"; From 96d4d744a9ea701933f03cfc247e08c02109e53b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:28:55 +0100 Subject: [PATCH 19/31] nix-shell: use gemdir --- pkgs/applications/misc/pt/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/misc/pt/default.nix b/pkgs/applications/misc/pt/default.nix index d85a3266bdf8..a400bb04da43 100644 --- a/pkgs/applications/misc/pt/default.nix +++ b/pkgs/applications/misc/pt/default.nix @@ -4,9 +4,7 @@ bundlerEnv { name = "pt-0.7.3"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; meta = with lib; { description = "Minimalist command-line Pivotal Tracker client"; From 1da6ebc8f55d094210dc7cd973ff9f1bb0d996e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:29:36 +0100 Subject: [PATCH 20/31] ledger-web: use gemdir --- pkgs/applications/office/ledger-web/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/office/ledger-web/default.nix b/pkgs/applications/office/ledger-web/default.nix index 6be5ad525db4..6f571bd2a1b0 100644 --- a/pkgs/applications/office/ledger-web/default.nix +++ b/pkgs/applications/office/ledger-web/default.nix @@ -6,11 +6,9 @@ bundlerEnv rec { name = "ledger-web-${version}"; - version = (import gemset).ledger_web.version; + version = (import ./gemset.nix).ledger_web.version; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; buildInputs = lib.optional withPostgresql postgresql ++ lib.optional withSqlite sqlite; From 310e78d5cb6cfebed9e2ac4fa318ed46f8b7fa3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:31:07 +0100 Subject: [PATCH 21/31] ronn: use gemdir --- pkgs/development/tools/ronn/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/tools/ronn/default.nix b/pkgs/development/tools/ronn/default.nix index 7720c4f2bf2b..5f20e89d4083 100644 --- a/pkgs/development/tools/ronn/default.nix +++ b/pkgs/development/tools/ronn/default.nix @@ -6,9 +6,7 @@ stdenv.mkDerivation rec { env = bundlerEnv rec { name = "ronn-gems"; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; }; phases = ["installPhase"]; From 202b953c9292083e0171bafbb337c68f0a9c6b57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:31:47 +0100 Subject: [PATCH 22/31] bitbucket-server-cli: use gemdir --- .../git-and-tools/bitbucket-server-cli/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/version-management/git-and-tools/bitbucket-server-cli/default.nix b/pkgs/applications/version-management/git-and-tools/bitbucket-server-cli/default.nix index a3cf434360b9..341b50f0ef22 100644 --- a/pkgs/applications/version-management/git-and-tools/bitbucket-server-cli/default.nix +++ b/pkgs/applications/version-management/git-and-tools/bitbucket-server-cli/default.nix @@ -3,11 +3,9 @@ bundlerEnv rec { name = "bitbucket-server-cli-${version}"; - version = (import gemset).atlassian-stash.version; + version = (import ./gemset.nix).atlassian-stash.version; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; pname = "atlassian-stash"; From 9b688135efc829552b26a60f8a73344a55ab516d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:32:15 +0100 Subject: [PATCH 23/31] taskjuggler: use gemdir --- pkgs/applications/misc/taskjuggler/3.x/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/misc/taskjuggler/3.x/default.nix b/pkgs/applications/misc/taskjuggler/3.x/default.nix index eaca537356b3..23252d0c4807 100644 --- a/pkgs/applications/misc/taskjuggler/3.x/default.nix +++ b/pkgs/applications/misc/taskjuggler/3.x/default.nix @@ -4,9 +4,7 @@ bundlerEnv { name = "taskjuggler-3.5.0"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; meta = { description = "A modern and powerful project management tool"; From 2011bde22c03298aba9519dc6d718b236a8db555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:34:45 +0100 Subject: [PATCH 24/31] redis-dump: use gemdir --- pkgs/development/tools/redis-dump/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/tools/redis-dump/default.nix b/pkgs/development/tools/redis-dump/default.nix index bc1adf730a35..054517ea547c 100644 --- a/pkgs/development/tools/redis-dump/default.nix +++ b/pkgs/development/tools/redis-dump/default.nix @@ -4,9 +4,7 @@ bundlerEnv { name = "redis-dump-0.3.5"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; buildInputs = [ perl autoconf ]; From 4a03407cdad4cb0b3c5ae96590b7940544cda861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:35:15 +0100 Subject: [PATCH 25/31] cide: use gemdir --- .../development/tools/continuous-integration/cide/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/cide/default.nix b/pkgs/development/tools/continuous-integration/cide/default.nix index 1ed752fb393c..932a02cf2bcf 100644 --- a/pkgs/development/tools/continuous-integration/cide/default.nix +++ b/pkgs/development/tools/continuous-integration/cide/default.nix @@ -7,9 +7,7 @@ stdenv.mkDerivation rec { env = bundlerEnv { name = "${name}-gems"; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; }; phases = ["installPhase"]; From c24a5cc506ed96e3b0e60ef87c65c0a975e89ec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:35:57 +0100 Subject: [PATCH 26/31] rhc: use gemdir --- pkgs/development/tools/rhc/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/tools/rhc/default.nix b/pkgs/development/tools/rhc/default.nix index e9efdb9f423c..e6b342dd7b62 100644 --- a/pkgs/development/tools/rhc/default.nix +++ b/pkgs/development/tools/rhc/default.nix @@ -4,9 +4,7 @@ bundlerEnv { name = "rhc-1.36.4"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; meta = with lib; { homepage = https://github.com/openshift/rhc; From 624b30ca163f642cbce5246587ee188e7c0ff8d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:36:34 +0100 Subject: [PATCH 27/31] sass: use gemdir --- pkgs/development/tools/sass/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/tools/sass/default.nix b/pkgs/development/tools/sass/default.nix index a291ca2de5d0..cfeb3ccc0f9d 100644 --- a/pkgs/development/tools/sass/default.nix +++ b/pkgs/development/tools/sass/default.nix @@ -4,9 +4,7 @@ bundlerEnv { name = "sass-3.4.22"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; meta = with lib; { description = "Tools and Ruby libraries for the CSS3 extension languages: Sass and SCSS"; From 040c04ee571f404a5b74986f44b8714649d3fb08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:40:27 +0100 Subject: [PATCH 28/31] chefdk: use gemdir --- pkgs/development/tools/chefdk/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/tools/chefdk/default.nix b/pkgs/development/tools/chefdk/default.nix index 80f9ef56abce..880d0ddcc743 100644 --- a/pkgs/development/tools/chefdk/default.nix +++ b/pkgs/development/tools/chefdk/default.nix @@ -4,9 +4,7 @@ bundlerEnv { name = "chefdk-0.11.2"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; buildInputs = [ perl autoconf ]; From ffbcea3ce59d5665b128b37b34b682c9ec372115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:41:00 +0100 Subject: [PATCH 29/31] rake: use gemdir --- pkgs/development/tools/build-managers/rake/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/build-managers/rake/default.nix b/pkgs/development/tools/build-managers/rake/default.nix index 3cf85b5fcb51..db7c987465ad 100644 --- a/pkgs/development/tools/build-managers/rake/default.nix +++ b/pkgs/development/tools/build-managers/rake/default.nix @@ -4,10 +4,8 @@ bundlerEnv { name = "rake-11.1.1"; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; - + gemdir = ./.; + meta = with lib; { description = "A software task management and build automation tool"; homepage = https://github.com/ruby/rake; From 69c10e52906392c62fa81043d231886f498fa64d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:41:32 +0100 Subject: [PATCH 30/31] gollum: use gemdir --- pkgs/applications/misc/gollum/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/misc/gollum/default.nix b/pkgs/applications/misc/gollum/default.nix index 1c58aec02332..1f3cc9e27c0c 100644 --- a/pkgs/applications/misc/gollum/default.nix +++ b/pkgs/applications/misc/gollum/default.nix @@ -5,9 +5,7 @@ bundlerEnv rec { version = "4.0.1"; ruby = ruby_2_2; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + gemdir = ./.; meta = with lib; { description = "A simple, Git-powered wiki"; From c9ff7e49a8303bd13a61b5c5cdf33cecfa52457c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2017 00:13:17 +0100 Subject: [PATCH 31/31] docs: gemdir is now preferred attribute for bundlerEnv --- doc/languages-frameworks/ruby.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/languages-frameworks/ruby.xml b/doc/languages-frameworks/ruby.xml index 15c0802ad694..b52361212f3a 100644 --- a/doc/languages-frameworks/ruby.xml +++ b/doc/languages-frameworks/ruby.xml @@ -26,9 +26,8 @@ bundlerEnv rec { version = (import gemset).sensu.version; inherit ruby; - gemfile = ./Gemfile; - lockfile = ./Gemfile.lock; - gemset = ./gemset.nix; + # expects Gemfile, Gemfile.lock and gemset.nix in the same directory + gemdir = ./.; meta = with lib; { description = "A monitoring framework that aims to be simple, malleable, and scalable";