mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2024-12-16 07:32:26 +03:00
Updating nixpkgs packages since 2018
src | ||
.gitignore | ||
.travis.yml | ||
check-attrpath-version-test.sh | ||
check-attrpath-version.sh | ||
check-result.sh | ||
delete-merged.sh | ||
fix-src-url.sh | ||
LICENSE | ||
package.yaml | ||
README.md | ||
to-staging.sh |
nixpkgs-update
Scripts to try to update nixpkgs packages. Uses hub
to automatically make PRs.
Instructions
- Clone this repo and build the tool:
git clone https://github.com/ryantm/nixpkgs-update && cd nixpkgs-update nix run nixpkgs.cabal2nix -c cabal2nix --shell --hpack . > shell.nix && nix-build shell.nix
- Get a list of oudated packages and place them in a
packages-to-update.txt
file in the root directory of this repository.git clone https://github.com/ryantm/repology-api.git && cd repology-api nix run nixpkgs.cabal2nix -c cabal2nix --shell --hpack . > shell.nix && nix-build shell.nix && result/bin/repology-api > ../packages-to-update.txt
- Return back
cd ..
and run the toolresult/bin/nix-update