Skip to content

Instantly share code, notes, and snippets.

@artyom-poptsov
Created December 29, 2023 17:51
Show Gist options
  • Save artyom-poptsov/12657adfd9ab5f14b06242d4849257f2 to your computer and use it in GitHub Desktop.
Save artyom-poptsov/12657adfd9ab5f14b06242d4849257f2 to your computer and use it in GitHub Desktop.
A simple script to rebuild all packages that depend on the specified package.
#!/bin/bash
PACKAGE="$1"
./pre-inst-env guix build $( ./pre-inst-env guix refresh --list-dependent "$PACKAGE" | awk -F: '{print $2}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment