summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/bundler-env/basic.nix
diff options
context:
space:
mode:
authorJudson <nyarly@gmail.com>2017-05-15 09:36:30 -0700
committerJudson <nyarly@gmail.com>2017-05-15 09:36:30 -0700
commitae84d19e651ddb09d22b31aae181fa6a500fdb65 (patch)
treeaa23f0b6671ae34e5ab2f9a015991b332116a134 /pkgs/development/ruby-modules/bundler-env/basic.nix
parentc39508b2549ff1a2b27279b4fe1c003454c78fb8 (diff)
downloadnixpkgs-ae84d19e651ddb09d22b31aae181fa6a500fdb65.tar
nixpkgs-ae84d19e651ddb09d22b31aae181fa6a500fdb65.tar.gz
nixpkgs-ae84d19e651ddb09d22b31aae181fa6a500fdb65.tar.bz2
nixpkgs-ae84d19e651ddb09d22b31aae181fa6a500fdb65.tar.lz
nixpkgs-ae84d19e651ddb09d22b31aae181fa6a500fdb65.tar.xz
nixpkgs-ae84d19e651ddb09d22b31aae181fa6a500fdb65.tar.zst
nixpkgs-ae84d19e651ddb09d22b31aae181fa6a500fdb65.zip
Final testing
Diffstat (limited to 'pkgs/development/ruby-modules/bundler-env/basic.nix')
-rw-r--r--pkgs/development/ruby-modules/bundler-env/basic.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/ruby-modules/bundler-env/basic.nix b/pkgs/development/ruby-modules/bundler-env/basic.nix
index 80f12c14bfe..33a379c0275 100644
--- a/pkgs/development/ruby-modules/bundler-env/basic.nix
+++ b/pkgs/development/ruby-modules/bundler-env/basic.nix
@@ -5,7 +5,8 @@
 }@defs:
 
 {
-  pname
+  name
+, pname ? name
 , gemfile
 , lockfile
 , gemset
@@ -77,7 +78,9 @@ let
   basicEnv = buildEnv {
     inherit ignoreCollisions;
 
-    name = pname;
+    name = if name == null then pname else name;
+
+    #name = pname;
 
     paths = envPaths;
     pathsToLink = [ "/lib" ];
@@ -92,7 +95,8 @@ let
     passthru = rec {
       inherit ruby bundler gems mainGem confFiles; # drvName;
 
-      wrappedRuby = stdenv.mkDerivation {
+      wrappedRuby =
+      stdenv.mkDerivation {
         name = "wrapped-ruby-${pname}";
         nativeBuildInputs = [ makeWrapper ];
         buildCommand = ''