about summary refs log tree commit diff
path: root/pkgs/development/ruby-modules
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-12-04 22:06:42 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-12-04 22:06:42 +0100
commitfe8eef1ae448bf3631c9e5be919c8456da35a006 (patch)
tree6a17c6d6d327504716b74f247362092c35d6e1cb /pkgs/development/ruby-modules
parent21835cba160d694e75d8ce7cac56b267b36aeb3d (diff)
parentc94cdd0978d707c08ffdfba54e682a8b553263e1 (diff)
Merge remote-tracking branch 'origin/master' into staging-next
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r--pkgs/development/ruby-modules/bundler-update-script/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/ruby-modules/bundler-update-script/default.nix b/pkgs/development/ruby-modules/bundler-update-script/default.nix
index cf4942f6e58c4..fce983a0e8efa 100644
--- a/pkgs/development/ruby-modules/bundler-update-script/default.nix
+++ b/pkgs/development/ruby-modules/bundler-update-script/default.nix
@@ -1,11 +1,11 @@
-{ runtimeShell, lib, writeScript, bundix, bundler, bundler-audit, coreutils, git, nix_2_3 }:
+{ runtimeShell, lib, writeScript, bundix, bundler, bundler-audit, coreutils, git, nix }:
 
 attrPath:
 
 let
   updateScript = writeScript "bundler-update-script" ''
     #!${runtimeShell}
-    PATH=${lib.makeBinPath [ bundler bundler-audit bundix coreutils git nix_2_3 ]}
+    PATH=${lib.makeBinPath [ bundler bundler-audit bundix coreutils git nix ]}
     set -o errexit
     set -o nounset
     set -o pipefail
@@ -13,7 +13,7 @@ let
     attrPath=$1
 
     toplevel=$(git rev-parse --show-toplevel)
-    position=$(nix eval -f "$toplevel" --raw "$attrPath.meta.position")
+    position=$(nix --extra-experimental-features nix-command eval -f "$toplevel" --raw "$attrPath.meta.position")
     gemdir=$(dirname "$position")
 
     cd "$gemdir"