Ryan Mulligan
d3f3d3497c
attempt to fix github action
2020-11-24 20:28:20 -08:00
Ryan Mulligan
4e96e0f085
GH.checkExistingUpdatePR: filter out issues
...
fixes #245
2020-11-24 20:19:07 -08:00
Ryan Mulligan
216d0f8dea
fix nixpkgs-review output
...
If nixpkgs-review failed to build something the ExitCode was non-zero,
so we were incorrectly saying it failed when it actually just failed
to build some stuff.
2020-11-13 21:13:36 -08:00
Jan Tojnar
a0b9cf8f0f
Skiplist: out goes GNOME again
2020-11-13 23:52:40 +01:00
Ryan Mulligan
9630bde0bb
fix default.nix
...
deleting .default made it not return a drv in the non-shell case
2020-10-24 14:33:53 -07:00
Ryan Mulligan
e083d938a1
add 45 minute timeout to nixpkgs-review
2020-10-24 13:56:17 -07:00
Ryan Mulligan
ddb71ff4e2
fix formatting of nu.md
2020-10-18 10:31:52 -07:00
Ryan Mulligan
4bdc2f3577
Merge pull request #233 from doronbehar/patch-1
...
README: Link repology's graph of repos
2020-10-18 10:29:01 -07:00
Ryan Mulligan
4ce74fecfd
Update README.md
...
Co-authored-by: Doron Behar <doron.behar@gmail.com>
2020-10-18 10:28:48 -07:00
Ryan Mulligan
e2f8f5868e
Merge pull request #239 from ryantm/update-nixpkgs-ghc
...
update nixpkgs pin to latest; use latest standard ghc
2020-10-18 10:26:23 -07:00
Ryan Mulligan
cbdaa444df
only support x86_64-linux
...
eachDefaultSystem was giving error messages like:
$ nix flake show
git+file:///home/ryantm/p/nixpkgs-update?ref=update-nixpkgs-ghc&rev=a9c8aded8f9f47679113c786e8a10e7556a05848
├───defaultPackage
error: --- Error ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ nix
error: --- Error --- nix-daemon
a 'aarch64-linux' with features {} is required to build '/nix/store/ni5699wkzqsjbw8zpbrdgfkig2hs7jhf-remove-references-to.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
(use '--show-trace' to show detailed location information)
2020-10-18 10:15:36 -07:00
Ryan Mulligan
a9c8aded8f
fix "nix-shell" with system-parameterized flakes
2020-10-18 09:56:02 -07:00
Ryan Mulligan
29575b3a38
parameterize flake.nix over systems
2020-10-18 09:31:10 -07:00
Ryan Mulligan
7d00a39e46
update nixpkgs pin to latest; use latest standard ghc
2020-10-18 07:12:11 -07:00
Ryan Mulligan
1c58e4d0fb
Merge pull request #237 from ryantm/wip/jtojnar/flakes-compat-flake
...
Fetch flake-compat with flakes
2020-10-18 05:45:36 -07:00
Jan Tojnar
12287b8560
Fetch flake-compat with flakes
...
We no longer need to use niv.
2020-10-18 13:29:13 +02:00
Ryan Mulligan
9274affebc
add schema for new tracking database
2020-10-11 16:08:45 -07:00
Ryan Mulligan
7e211952af
also set GITHUB_API_TOKEN
...
jonringer says his python update script uses it
2020-10-11 12:35:18 -07:00
Ryan Mulligan
09a227a12c
fixes to use ignore nix stderr
...
warnings about experimental flags were messing up the expected outputs
2020-10-11 12:34:50 -07:00
Ryan Mulligan
c7b10cff8c
use current directory nixpkgs if available
2020-10-11 12:34:22 -07:00
Ryan Mulligan
4ba2e31e5c
if the diff after rewrites is empty, abort update
2020-10-11 09:32:58 -07:00
Ryan Mulligan
93cc360438
stop checking python-unstable, because it doesn't exist anymore
2020-10-10 14:56:57 -07:00
Ryan Mulligan
7f06e12284
check derivation contents Skiplist for everything
...
This isn't perfect because updateScript might edit other files, but
better than nothing.
2020-09-27 08:42:50 -07:00
Jan Tojnar
bf503e47b8
Skiplist: re-add GNOME
2020-09-17 19:17:02 +02:00
Ryan Mulligan
5749f0029a
Remove cachix option
...
If you want to continue to use cachix, you need to set up a post-build
hook that pushes to cachix instead of using nixpkgs-update.
2020-08-17 21:11:26 -07:00
Ryan Mulligan
a619de27ec
Merge pull request #229 from zimbatm/use-nix-community-cache
...
switch the caches to nix-community.cachix.org
2020-08-17 20:58:24 -07:00
Ryan Mulligan
e7b44e8fe3
Don't reset branch inside assertNotUpdatedOn
2020-08-17 20:56:19 -07:00
Doron Behar
ddeff1e85a
README: Link repology's graph of repos
...
❤️
2020-08-16 16:59:59 +00:00
zimbatm
10c090e0ef
switch the caches to nix-community.cachix.org
...
Share the caching infrastructure with the nix-community project.
The cache is automatically done in a post-build hook so the bot doesn't
need to this.
2020-08-07 20:00:26 +02:00
Ryan Mulligan
a2a9bcafc1
skip updateScript rewriter if there is no updateScript
2020-08-01 10:02:38 -07:00
Ryan Mulligan
f07e4069cc
if updateScript fails, fail whole update
...
closes #226
2020-08-01 09:42:32 -07:00
Ryan Mulligan
a5f0175437
add todo about locking down cachix dependency
2020-08-01 07:51:29 -07:00
Ryan Mulligan
117a5b3c08
don't return shell env unless requesting shell
2020-08-01 07:05:26 -07:00
Ryan Mulligan
c0b71beded
disable library profiling
...
This was causing the project to get compiled twice on every build. If
someone needs profiling they can turn this off temporarily.
2020-07-31 21:54:17 -07:00
Ryan Mulligan
c15ebd738c
Merge pull request #205 from ryantm/updatescript
...
use passthru.updateScript
2020-07-31 21:33:11 -07:00
Ryan Mulligan
29d54a2496
fix tests
2020-07-29 22:02:22 -07:00
Ryan Mulligan
0c2d0f1c96
Unify batch and single package update, get updateScript working!
2020-07-29 21:48:37 -07:00
Ryan Mulligan
2f6727c8e3
More RecordWildcards
2020-07-24 21:33:16 -07:00
Ryan Mulligan
19d1e362d9
fix getAttr invocations
2020-07-24 21:13:23 -07:00
Ryan Mulligan
b48705c912
skip updaters if derivation has updateScript
...
* removes alternative plan concept
* hat tip to bhipple
2020-07-24 21:10:21 -07:00
Ryan Mulligan
1969d913f6
adapting Update methods
2020-07-24 19:04:33 -07:00
Ryan Mulligan
433f95306a
make main Update methods updateScript aware
...
We still need to detect the new and old versions and pass an updated
updateEnv to publishPackage.
2020-07-24 19:04:31 -07:00
Ryan Mulligan
6581afaed4
add Nix.runUpdateScript and updateScript rewriter
2020-07-24 19:02:22 -07:00
Ryan Mulligan
307f00058b
skip regular updates in passthru.updateScript present
...
* adds notion of a rewrite plan that can be selected, currently only
two plans standard and updateScript
* updateScript plan currently skips version updates and in future
commits it should be made to run the updateScript
2020-07-24 19:01:28 -07:00
Ryan Mulligan
cf1b8e111e
Merge pull request #223 from ryantm/skip
...
Blacklist -> Skiplist
2020-07-23 21:33:05 -07:00
Ryan Mulligan
ea7db0dbc7
fix shell-nix; reformat flake.nix
2020-07-23 21:32:16 -07:00
Ryan Mulligan
b80e63e682
Blacklist -> Skiplist
2020-07-23 21:05:03 -07:00
Ryan Mulligan
abcef912ec
update nixpkgs-review dep
...
new version should work in pure shell
2020-07-23 13:34:45 -07:00
Ryan Mulligan
37370f6214
potentially fix bug with devshell building
2020-07-21 06:06:27 -07:00
Ryan Mulligan
a0f4d275d4
reformat all with ormolu
2020-07-21 05:36:23 -07:00