nix: revert to original wlroots repo

This commit is contained in:
Mihai Fufezan 2022-06-22 23:23:46 +03:00
parent 606f4b0794
commit 11a5e6bcbf
No known key found for this signature in database
GPG Key ID: 5899325F2F120900
3 changed files with 13 additions and 11 deletions

View File

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1655221618,
"narHash": "sha256-ht8HRFthDKzYt+il+sGgkBwrv+Ex2l8jdGVpsrPfFME=",
"lastModified": 1655807518,
"narHash": "sha256-5YV29Ry/DpAJc/0Hc/+ISVBAjwHpJvAkeKkcUG5lWsc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6616de389ed55fba6eeba60377fc04732d5a207c",
"rev": "a72d7811be1162dd6804c4e36e5402d76fb6e921",
"type": "github"
},
"original": {
@ -25,17 +25,19 @@
"wlroots": {
"flake": false,
"locked": {
"host": "gitlab.freedesktop.org",
"lastModified": 1654618691,
"narHash": "sha256-8y3u8CoigjoZOVbA2wCWBHlDNEakv0AVxU46/cOC00s=",
"owner": "ThatOneCalculator",
"repo": "wlroots-mirror",
"owner": "wlroots",
"repo": "wlroots",
"rev": "b89ed9015c3fbe8d339e9d65cf70fdca6e5645bc",
"type": "github"
"type": "gitlab"
},
"original": {
"owner": "ThatOneCalculator",
"repo": "wlroots-mirror",
"type": "github"
"host": "gitlab.freedesktop.org",
"owner": "wlroots",
"repo": "wlroots",
"type": "gitlab"
}
}
},

View File

@ -4,7 +4,7 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
wlroots = {
url = "github:ThatOneCalculator/wlroots-mirror";
url = "gitlab:wlroots/wlroots?host=gitlab.freedesktop.org";
flake = false;
};
};

View File

@ -10,7 +10,7 @@ if [ $SUB_REV != $CRT_REV ]; then
nix flake lock --update-input nixpkgs
# update wlroots to submodule revision
nix flake lock --override-input wlroots "github:ThatOneCalculator/wlroots-mirror/$SUB_REV"
nix flake lock --override-input wlroots "gitlab:wlroots/wlroots/$SUB_REV?host=gitlab.freedesktop.org"
# remove "dirty" mark from lockfile
jq < flake.lock 'del(.nodes.wlroots.original.rev)' | sponge flake.lock