2017-11-03 05:25:57 +03:00
|
|
|
# nix-update
|
2018-01-12 06:25:47 +03:00
|
|
|
|
2018-03-22 07:57:19 +03:00
|
|
|
[![Build Status](https://travis-ci.org/ryantm/nix-update.svg?branch=master)](https://travis-ci.org/ryantm/nix-update)
|
2018-02-26 17:29:42 +03:00
|
|
|
|
2018-03-22 07:57:19 +03:00
|
|
|
Scripts to try to update nixpkgs packages. Uses `hub` to automatically make PRs.
|
|
|
|
|
|
|
|
# Instructions
|
|
|
|
|
|
|
|
1. Clone this repo:
|
|
|
|
```
|
|
|
|
git clone https://github.com/ryantm/nix-update
|
|
|
|
```
|
|
|
|
2. Get a list of oudated packages and place them in a `packages-to-update.txt` file in the root directory of this repository.
|
2018-02-26 17:26:20 +03:00
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://github.com/ryantm/repology-api.git
|
|
|
|
cabal2nix --shell --hpack . > shell.nix && nix-build shell.nix && result/bin/repology-api > packages-to-update.txt
|
|
|
|
```
|
2018-03-22 07:57:19 +03:00
|
|
|
3. `./ups.sh`
|
2018-03-04 23:04:59 +03:00
|
|
|
|
|
|
|
# prior work
|
|
|
|
|
|
|
|
https://github.com/NixOS/nixpkgs/blob/master/pkgs/common-updater/scripts/update-source-version
|
2018-03-10 00:30:54 +03:00
|
|
|
https://github.com/NixOS/nixpkgs/tree/master/pkgs/build-support/upstream-updater
|