nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

treewide: Remove nixfmt-rfc-style from update script shebangs

Based on the Nixpkgs used and the version of nixfmt-rfc-style in that
version, it's likely that not the correct version is used.

Update scripts should instead run within a Nixpkgs development shell
(`nix-shell`/`nix develop`/`direnv`), where the correct version of
`nixfmt` (although `treefmt` should be preferred) is always available.

+18 -18
+1 -1
maintainers/scripts/haskell/regenerate-hackage-packages.sh
··· 1 1 #! /usr/bin/env nix-shell 2 - #! nix-shell -i bash -p coreutils haskellPackages.cabal2nix-unstable git nixfmt-rfc-style -I nixpkgs=. 2 + #! nix-shell -i bash -p coreutils haskellPackages.cabal2nix-unstable git -I nixpkgs=. 3 3 4 4 set -euo pipefail 5 5
+1 -1
maintainers/scripts/haskell/update-cabal2nix-unstable.sh
··· 1 1 #! /usr/bin/env nix-shell 2 - #! nix-shell -i bash -p coreutils curl jq gnused haskellPackages.cabal2nix-unstable nixfmt-rfc-style -I nixpkgs=. 2 + #! nix-shell -i bash -p coreutils curl jq gnused haskellPackages.cabal2nix-unstable -I nixpkgs=. 3 3 4 4 # Updates cabal2nix-unstable to the latest master of the nixos/cabal2nix repository. 5 5 # See regenerate-hackage-packages.sh for details on the purpose of this script.
+1 -1
pkgs/by-name/br/bruijn/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p coreutils cabal2nix curl jq nixfmt-rfc-style 2 + #!nix-shell -i bash -p coreutils cabal2nix curl jq 3 3 4 4 set -euo pipefail 5 5
+1 -1
pkgs/by-name/cr/creek/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p bash common-updater-scripts gnused nixfmt-rfc-style 2 + #!nix-shell -i bash -p bash common-updater-scripts gnused 3 3 4 4 latest_tag=$(list-git-tags --url=https://github.com/nmeum/creek | sed 's/^v//' | tail -n 1) 5 5
+1 -1
pkgs/by-name/dp/dprint/plugins/update-plugins.py
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i python -p nix nixfmt-rfc-style 'python3.withPackages (pp: [ pp.requests ])' 2 + #!nix-shell -i python -p nix 'python3.withPackages (pp: [ pp.requests ])' 3 3 4 4 import json 5 5 import os
+1 -1
pkgs/by-name/ej/ejabberd/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -I nixpkgs=./. -i bash -p curl jq common-updater-scripts "rebar3WithPlugins {globalPlugins = [beamPackages.rebar3-nix];}" erlang autoconf automake nixfmt-rfc-style 2 + #!nix-shell -I nixpkgs=./. -i bash -p curl jq common-updater-scripts "rebar3WithPlugins {globalPlugins = [beamPackages.rebar3-nix];}" erlang autoconf automake 3 3 #shellcheck shell=bash 4 4 5 5 set -eu -o pipefail
+1 -1
pkgs/by-name/fl/flow-control/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p bash common-updater-scripts gnused nixfmt-rfc-style 2 + #!nix-shell -i bash -p bash common-updater-scripts gnused 3 3 4 4 latest_tag=$(list-git-tags --url=https://github.com/neurocyte/flow | sed 's/^v//' | tail -n 1) 5 5
+1 -1
pkgs/by-name/gr/gren/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p cabal2nix curl jq nixfmt-rfc-style 2 + #!nix-shell -i bash -p cabal2nix curl jq 3 3 4 4 set -euo pipefail 5 5
+1 -1
pkgs/by-name/ms/msgraph-cli/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p curl gnused nixfmt-rfc-style common-updater-scripts 2 + #!nix-shell -i bash -p curl gnused common-updater-scripts 3 3 set -eEuo pipefail 4 4 [ -z "${DEBUG:-}" ] || set -x 5 5 cd "${BASH_SOURCE[0]%/*}"
+1 -1
pkgs/by-name/mu/music-assistant/update-providers.py
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -I nixpkgs=./. -i python3 -p "music-assistant.python.withPackages (ps: music-assistant.dependencies ++ (with ps; [ jinja2 packaging ]))" -p pyright ruff isort nixfmt-rfc-style 2 + #!nix-shell -I nixpkgs=./. -i python3 -p "music-assistant.python.withPackages (ps: music-assistant.dependencies ++ (with ps; [ jinja2 packaging ]))" -p pyright ruff isort 3 3 import asyncio 4 4 import json 5 5 import os.path
+1 -1
pkgs/by-name/oa/oama/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p haskell.packages.ghc910.cabal2nix nix-prefetch-git curl jq nixfmt-rfc-style 2 + #!nix-shell -i bash -p haskell.packages.ghc910.cabal2nix nix-prefetch-git curl jq 3 3 4 4 set -euo pipefail 5 5
+1 -1
pkgs/by-name/ri/river-bedload/update-build-zig-zon.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p bash jq nixfmt-rfc-style zon2nix 2 + #!nix-shell -i bash -p bash jq zon2nix 3 3 4 4 commit=$(nix-instantiate --eval -A river-bedload.src.rev | jq --raw-output) 5 5
+1 -1
pkgs/by-name/ri/river/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p bash common-updater-scripts gnused nixfmt-rfc-style zon2nix 2 + #!nix-shell -i bash -p bash common-updater-scripts gnused zon2nix 3 3 4 4 latest_tag=$(list-git-tags --url=https://codeberg.org/river/river | sed 's/^v//' | sort --version-sort | tail --lines=1) 5 5
+1 -1
pkgs/by-name/wa/waylock/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p bash common-updater-scripts gnused nixfmt-rfc-style zon2nix 2 + #!nix-shell -i bash -p bash common-updater-scripts gnused zon2nix 3 3 4 4 latest_tag=$(list-git-tags --url=https://codeberg.org/ifreund/waylock | sed 's/^v//' | tail -n 1) 5 5
+1 -1
pkgs/development/beam-modules/elvis-erlang/default.nix
··· 29 29 30 30 passthru.updateScript = writeScript "update.sh" '' 31 31 #!/usr/bin/env nix-shell 32 - #!nix-shell -i bash -p bash common-updater-scripts git nix-prefetch-git gnutar gzip "rebar3WithPlugins {globalPlugins = [beamPackages.rebar3-nix];}" nixfmt-rfc-style 32 + #!nix-shell -i bash -p bash common-updater-scripts git nix-prefetch-git gnutar gzip "rebar3WithPlugins {globalPlugins = [beamPackages.rebar3-nix];}" 33 33 34 34 set -euo pipefail 35 35
+1 -1
pkgs/development/beam-modules/erlang-ls/default.nix
··· 74 74 75 75 passthru.updateScript = writeScript "update.sh" '' 76 76 #!/usr/bin/env nix-shell 77 - #! nix-shell -i bash -p common-updater-scripts coreutils git gnused gnutar gzip nixfmt-rfc-style "rebar3WithPlugins { globalPlugins = [ beamPackages.rebar3-nix ]; }" 77 + #! nix-shell -i bash -p common-updater-scripts coreutils git gnused gnutar gzip "rebar3WithPlugins { globalPlugins = [ beamPackages.rebar3-nix ]; }" 78 78 79 79 set -ox errexit 80 80 latest=$(list-git-tags | sed -n '/[\d\.]\+/p' | sort -V | tail -1)
+1 -1
pkgs/development/compilers/dotnet/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -I nixpkgs=./. -i bash -p curl jq nix gnused nixfmt-rfc-style 2 + #!nix-shell -I nixpkgs=./. -i bash -p curl jq nix gnused 3 3 # shellcheck shell=bash 4 4 5 5 set -Eeuo pipefail
+1 -1
pkgs/servers/home-assistant/update-component-packages.py
··· 1 1 #! /usr/bin/env nix-shell 2 - #! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ packaging rich ])" -p pyright ruff isort nixfmt-rfc-style 2 + #! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ packaging rich ])" -p pyright ruff isort 3 3 # 4 4 # This script downloads Home Assistant's source tarball. 5 5 # Inside the homeassistant/components directory, each integration has an associated manifest.json,