python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / pipewire / update-media-session.sh
blobc55745815759021749227288fd6f739f60fb6536
1 #!/usr/bin/env nix-shell
2 #!nix-shell -p nix-update -i bash
3 # shellcheck shell=bash
5 set -o errexit -o pipefail -o nounset -o errtrace
6 shopt -s inherit_errexit
7 shopt -s nullglob
8 IFS=$'\n'
10 NIXPKGS_ROOT="$(git rev-parse --show-toplevel)"
12 cd "$NIXPKGS_ROOT"
13 nix-update pipewire-media-session
14 outputs=$(nix-build . -A pipewire-media-session)
15 for p in $outputs; do
16 conf_files=$(find "$p/nix-support/" -name '*.conf.json')
17 for c in $conf_files; do
18 file_name=$(basename "$c")
19 if [[ ! -e "nixos/modules/services/desktops/pipewire/media-session/$file_name" ]]; then
20 echo "New file $file_name found! Add it to the module config and passthru tests!"
22 install -m 0644 "$c" "nixos/modules/services/desktops/pipewire/media-session/"
23 done
24 done