diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2022-12-03 23:40:32 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2022-12-03 23:40:32 +0100 |
commit | 42a68e6a36b8d7fd7f0cec5ef3b2f0ca6693a5e6 (patch) | |
tree | b4ae728fbf847f8d884198c9ce7c3f032cf00957 /pkgs/development/ruby-modules/bundler-update-script | |
parent | 0c99bc39654f6b9c93e5c4cc44b60db080a87733 (diff) |
bundlerUpdateScript: Fix evaluation with `allowAliases = false`
Reverts https://github.com/NixOS/nixpkgs/commit/38ffd641e0da8f37b82858ebd7cd679fa4716b66
Diffstat (limited to 'pkgs/development/ruby-modules/bundler-update-script')
-rw-r--r-- | pkgs/development/ruby-modules/bundler-update-script/default.nix | 6 |
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" |