python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / pipewire / update-pipewire.sh
blobd94d39c763075eb08466f17eee449ed6773831f5
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
14 outputs=$(nix-build . -A pipewire)
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/daemon/$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/daemon/"
23 done
24 done