Merge pull request #21962 from Mic92/gemdir
bundleEnv: Used gemdir for most applications now
This commit is contained in:
commit
3fdde25b4c
@ -26,9 +26,8 @@ bundlerEnv rec {
|
|||||||
|
|
||||||
version = (import gemset).sensu.version;
|
version = (import gemset).sensu.version;
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
# expects Gemfile, Gemfile.lock and gemset.nix in the same directory
|
||||||
lockfile = ./Gemfile.lock;
|
gemdir = ./.;
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A monitoring framework that aims to be simple, malleable, and scalable";
|
description = "A monitoring framework that aims to be simple, malleable, and scalable";
|
||||||
|
@ -5,9 +5,7 @@ bundlerEnv rec {
|
|||||||
version = "4.0.1";
|
version = "4.0.1";
|
||||||
|
|
||||||
ruby = ruby_2_2;
|
ruby = ruby_2_2;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A simple, Git-powered wiki";
|
description = "A simple, Git-powered wiki";
|
||||||
|
@ -5,9 +5,7 @@ bundlerEnv rec {
|
|||||||
version = "3.0.1";
|
version = "3.0.1";
|
||||||
|
|
||||||
ruby = ruby_2_2;
|
ruby = ruby_2_2;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple, blog aware, static site generator";
|
description = "Simple, blog aware, static site generator";
|
||||||
|
@ -4,9 +4,7 @@ bundlerEnv {
|
|||||||
name = "pt-0.7.3";
|
name = "pt-0.7.3";
|
||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Minimalist command-line Pivotal Tracker client";
|
description = "Minimalist command-line Pivotal Tracker client";
|
||||||
|
@ -4,9 +4,7 @@ bundlerEnv {
|
|||||||
name = "taskjuggler-3.5.0";
|
name = "taskjuggler-3.5.0";
|
||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A modern and powerful project management tool";
|
description = "A modern and powerful project management tool";
|
||||||
|
@ -11,9 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
env = bundlerEnv {
|
env = bundlerEnv {
|
||||||
name = "panamax-api-gems-${version}";
|
name = "panamax-api-gems-${version}";
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemset = ./gemset.nix;
|
gemdir = ./.;
|
||||||
gemfile = ./Gemfile;
|
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bundler = args.bundler.override { inherit ruby; };
|
bundler = args.bundler.override { inherit ruby; };
|
||||||
|
@ -10,9 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
env = bundlerEnv {
|
env = bundlerEnv {
|
||||||
name = "panamax-ui-gems-${version}";
|
name = "panamax-ui-gems-${version}";
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemset = ./gemset.nix;
|
gemdir = ./.;
|
||||||
gemfile = ./Gemfile;
|
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bundler = args.bundler.override { inherit ruby; };
|
bundler = args.bundler.override { inherit ruby; };
|
||||||
|
@ -6,11 +6,9 @@
|
|||||||
bundlerEnv rec {
|
bundlerEnv rec {
|
||||||
name = "ledger-web-${version}";
|
name = "ledger-web-${version}";
|
||||||
|
|
||||||
version = (import gemset).ledger_web.version;
|
version = (import ./gemset.nix).ledger_web.version;
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
buildInputs = lib.optional withPostgresql postgresql
|
buildInputs = lib.optional withPostgresql postgresql
|
||||||
++ lib.optional withSqlite sqlite;
|
++ lib.optional withSqlite sqlite;
|
||||||
|
@ -8,9 +8,7 @@ let
|
|||||||
env = bundlerEnv rec {
|
env = bundlerEnv rec {
|
||||||
name = "${pname}-env-${version}";
|
name = "${pname}-env-${version}";
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
gemConfig.rugged = attrs: { buildInputs = [ which ]; };
|
gemConfig.rugged = attrs: { buildInputs = [ which ]; };
|
||||||
};
|
};
|
||||||
|
@ -4,9 +4,7 @@ bundlerEnv {
|
|||||||
name = "timetrap-1.10.0";
|
name = "timetrap-1.10.0";
|
||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A simple command line time tracker written in ruby";
|
description = "A simple command line time tracker written in ruby";
|
||||||
|
@ -3,11 +3,9 @@
|
|||||||
bundlerEnv rec {
|
bundlerEnv rec {
|
||||||
name = "bitbucket-server-cli-${version}";
|
name = "bitbucket-server-cli-${version}";
|
||||||
|
|
||||||
version = (import gemset).atlassian-stash.version;
|
version = (import ./gemset.nix).atlassian-stash.version;
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
pname = "atlassian-stash";
|
pname = "atlassian-stash";
|
||||||
|
|
||||||
|
@ -9,9 +9,7 @@ let
|
|||||||
env = bundlerEnv {
|
env = bundlerEnv {
|
||||||
name = "gitlab";
|
name = "gitlab";
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = http://www.gitlab.com/;
|
homepage = http://www.gitlab.com/;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
@ -5,9 +5,7 @@ bundlerEnv {
|
|||||||
name = "matter_compiler-0.5.1";
|
name = "matter_compiler-0.5.1";
|
||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = ''
|
description = ''
|
||||||
|
@ -4,10 +4,8 @@ bundlerEnv {
|
|||||||
name = "rake-11.1.1";
|
name = "rake-11.1.1";
|
||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A software task management and build automation tool";
|
description = "A software task management and build automation tool";
|
||||||
homepage = https://github.com/ruby/rake;
|
homepage = https://github.com/ruby/rake;
|
||||||
|
@ -4,9 +4,7 @@ bundlerEnv {
|
|||||||
name = "chefdk-0.11.2";
|
name = "chefdk-0.11.2";
|
||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
buildInputs = [ perl autoconf ];
|
buildInputs = [ perl autoconf ];
|
||||||
|
|
||||||
|
@ -4,9 +4,7 @@ bundlerEnv {
|
|||||||
name = "compass-1.0.3";
|
name = "compass-1.0.3";
|
||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain";
|
description = "Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain";
|
||||||
|
@ -7,9 +7,7 @@ stdenv.mkDerivation rec {
|
|||||||
env = bundlerEnv {
|
env = bundlerEnv {
|
||||||
name = "${name}-gems";
|
name = "${name}-gems";
|
||||||
|
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = ["installPhase"];
|
phases = ["installPhase"];
|
||||||
|
@ -4,9 +4,7 @@ bundlerEnv {
|
|||||||
name = "redis-dump-0.3.5";
|
name = "redis-dump-0.3.5";
|
||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
buildInputs = [ perl autoconf ];
|
buildInputs = [ perl autoconf ];
|
||||||
|
|
||||||
|
@ -4,9 +4,7 @@ bundlerEnv {
|
|||||||
name = "rhc-1.36.4";
|
name = "rhc-1.36.4";
|
||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://github.com/openshift/rhc;
|
homepage = https://github.com/openshift/rhc;
|
||||||
|
@ -6,9 +6,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
env = bundlerEnv rec {
|
env = bundlerEnv rec {
|
||||||
name = "ronn-gems";
|
name = "ronn-gems";
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = ["installPhase"];
|
phases = ["installPhase"];
|
||||||
|
@ -4,9 +4,7 @@ bundlerEnv {
|
|||||||
name = "sass-3.4.22";
|
name = "sass-3.4.22";
|
||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tools and Ruby libraries for the CSS3 extension languages: Sass and SCSS";
|
description = "Tools and Ruby libraries for the CSS3 extension languages: Sass and SCSS";
|
||||||
|
@ -4,9 +4,7 @@ let
|
|||||||
# `sass` et al
|
# `sass` et al
|
||||||
gems = bundlerEnv {
|
gems = bundlerEnv {
|
||||||
name = "consul-ui-deps";
|
name = "consul-ui-deps";
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -4,9 +4,7 @@
|
|||||||
name = "sensu-0.17.1";
|
name = "sensu-0.17.1";
|
||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A monitoring framework that aims to be simple, malleable, and scalable";
|
description = "A monitoring framework that aims to be simple, malleable, and scalable";
|
||||||
|
@ -4,9 +4,7 @@
|
|||||||
let
|
let
|
||||||
gemEnv = bundlerEnv {
|
gemEnv = bundlerEnv {
|
||||||
name = "mpdcron-bundle";
|
name = "mpdcron-bundle";
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
};
|
};
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
version = "20130809";
|
version = "20130809";
|
||||||
|
@ -4,9 +4,7 @@ bundlerEnv {
|
|||||||
name = "backup_v4";
|
name = "backup_v4";
|
||||||
|
|
||||||
ruby = ruby_2_1;
|
ruby = ruby_2_1;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
buildInputs = [ curl ];
|
buildInputs = [ curl ];
|
||||||
|
|
||||||
|
@ -2,9 +2,7 @@
|
|||||||
bundlerEnv {
|
bundlerEnv {
|
||||||
name = "homesick-1.1.3";
|
name = "homesick-1.1.3";
|
||||||
|
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
# Cannot use `wrapProgram` because the the help is aware of the file name.
|
# Cannot use `wrapProgram` because the the help is aware of the file name.
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -8,9 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
|
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
@ -6,9 +6,7 @@ stdenv.mkDerivation rec {
|
|||||||
env = bundlerEnv {
|
env = bundlerEnv {
|
||||||
name = "maphosts-gems";
|
name = "maphosts-gems";
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = ["installPhase"];
|
phases = ["installPhase"];
|
||||||
|
@ -8,9 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
env = bundlerEnv {
|
env = bundlerEnv {
|
||||||
name = "${name}-gems";
|
name = "${name}-gems";
|
||||||
|
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -7,9 +7,7 @@ stdenv.mkDerivation rec {
|
|||||||
env = bundlerEnv {
|
env = bundlerEnv {
|
||||||
name = "${name}-gems";
|
name = "${name}-gems";
|
||||||
|
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
|
@ -4,9 +4,7 @@ bundlerEnv {
|
|||||||
pname = "ruby-zoom";
|
pname = "ruby-zoom";
|
||||||
|
|
||||||
inherit ruby;
|
inherit ruby;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Quickly open CLI search results in your favorite editor!";
|
description = "Quickly open CLI search results in your favorite editor!";
|
||||||
|
Loading…
Reference in New Issue
Block a user