diff options
| author | NAHO <90870942+trueNAHO@users.noreply.github.com> | 2025-09-30 08:49:04 +0200 |
|---|---|---|
| committer | NAHO <90870942+trueNAHO@users.noreply.github.com> | 2025-10-04 19:02:37 +0200 |
| commit | c8d4dabc4357a22d1c249a9363998bdb00122544 (patch) | |
| tree | 02e67012814e5f3cf481c42a393a3364bad39f57 /pkgs/development/ruby-modules | |
| parent | nixos/syncthing: add guiPasswordFile option, add and move Syncthing tests (#4... (diff) | |
| download | nixpkgs-c8d4dabc4357a22d1c249a9363998bdb00122544.tar.gz | |
pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:
builtins=(
abort
baseNameOf
break
derivation
derivationStrict
dirOf
false
fetchGit
fetchMercurial
fetchTarball
fetchTree
fromTOML
import
isNull
map
null
placeholder
removeAttrs
scopedImport
throw
toString
true
)
fd \
--type file \
. \
pkgs \
--exec-batch sed --in-place --regexp-extended "
s/\<builtins\.($(
printf '%s\n' "${builtins[@]}" |
paste --delimiter '|' --serial -
))\>/\1/g
"
nix fmt
Diffstat (limited to 'pkgs/development/ruby-modules')
| -rw-r--r-- | pkgs/development/ruby-modules/gem/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/gem/default.nix b/pkgs/development/ruby-modules/gem/default.nix index 0e3c1c4187f2..10ea06c415bd 100644 --- a/pkgs/development/ruby-modules/gem/default.nix +++ b/pkgs/development/ruby-modules/gem/default.nix @@ -107,7 +107,7 @@ lib.makeOverridable ( in stdenv.mkDerivation ( - (builtins.removeAttrs attrs [ "source" ]) + (removeAttrs attrs [ "source" ]) // { inherit ruby; inherit dontBuild; |
