🚀 add nixpkgs-review

dev-docs
Moritz Böhme 2022-04-30 13:08:29 +02:00
parent a863e30305
commit f9edbf2dc3
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
4 changed files with 126 additions and 2 deletions

View File

@ -124,7 +124,38 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1641205782,
"narHash": "sha256-4jY7RCWUoZ9cKD8co0/4tFARpWB+57+r1bLLvXNJliY=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "b7547d3eed6f32d06102ead8991ec52ab0a4f1a7",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"locked": {
"lastModified": 1649676176,
"narHash": "sha256-OWKJratjt2RW151VUlJPRALb7OU2S5s+f0vLj4o1bHM=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "a4b154ebbdc88c8498a5c7b01589addc9e9cb678",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_2": {
"locked": { "locked": {
"lastModified": 1644229661, "lastModified": 1644229661,
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=", "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
@ -209,6 +240,27 @@
"type": "github" "type": "github"
} }
}, },
"naersk": {
"inputs": {
"nixpkgs": [
"nixpkgs-review-checks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1650265945,
"narHash": "sha256-SO8+1db4jTOjnwP++29vVgImLIfETSXyoz0FuLkiikE=",
"owner": "nix-community",
"repo": "naersk",
"rev": "e8f9f8d037774becd82fce2781e1abdb7836d7df",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "naersk",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1638587357, "lastModified": 1638587357,
@ -225,6 +277,57 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-hammering": {
"inputs": {
"flake-compat": "flake-compat",
"naersk": [
"nixpkgs-review-checks",
"naersk"
],
"nixpkgs": [
"nixpkgs-review-checks",
"nixpkgs"
],
"utils": [
"nixpkgs-review-checks",
"flake-utils"
]
},
"locked": {
"lastModified": 1647744458,
"narHash": "sha256-DK1kfMVS88eqYAnIjvYMInECVuWCe4MUTtUIpVhLQGk=",
"owner": "jtojnar",
"repo": "nixpkgs-hammering",
"rev": "0c54b7121a21f79e580773a46fc8d51482dc1d1c",
"type": "github"
},
"original": {
"owner": "jtojnar",
"repo": "nixpkgs-hammering",
"type": "github"
}
},
"nixpkgs-review-checks": {
"inputs": {
"flake-utils": "flake-utils",
"naersk": "naersk",
"nixpkgs": "nixpkgs_4",
"nixpkgs-hammering": "nixpkgs-hammering"
},
"locked": {
"lastModified": 1650972245,
"narHash": "sha256-ierkAyTWOCpMBWIpH8Fy6VGnNdqFugZkQnKqMGWJcxM=",
"owner": "SuperSandro2000",
"repo": "nixpkgs-review-checks",
"rev": "0e94cb24f60cfbc8c3aed6bb5dcd6a86dd4b4648",
"type": "github"
},
"original": {
"owner": "SuperSandro2000",
"repo": "nixpkgs-review-checks",
"type": "github"
}
},
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1650647760, "lastModified": 1650647760,
@ -256,6 +359,21 @@
} }
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": {
"lastModified": 1650760898,
"narHash": "sha256-r1rzTgwi1FKx5t3KKi7Xt4hyGdOnTD0RSTpbNls09KU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0f1f92d85be76e0bd79ebb2285be8f43683eb845",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1645013224, "lastModified": 1645013224,
"narHash": "sha256-b7OEC8vwzJv3rsz9pwnTX2LQDkeOWz2DbKypkVvNHXc=", "narHash": "sha256-b7OEC8vwzJv3rsz9pwnTX2LQDkeOWz2DbKypkVvNHXc=",
@ -298,6 +416,7 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"master": "master", "master": "master",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"nixpkgs-review-checks": "nixpkgs-review-checks",
"nur": "nur", "nur": "nur",
"stable": "stable", "stable": "stable",
"statix": "statix", "statix": "statix",
@ -341,7 +460,7 @@
"inputs": { "inputs": {
"fenix": "fenix", "fenix": "fenix",
"gitignore": "gitignore", "gitignore": "gitignore",
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1645337357, "lastModified": 1645337357,
@ -359,7 +478,7 @@
}, },
"utils": { "utils": {
"inputs": { "inputs": {
"flake-utils": "flake-utils" "flake-utils": "flake-utils_2"
}, },
"locked": { "locked": {
"lastModified": 1647259887, "lastModified": 1647259887,

View File

@ -19,6 +19,8 @@
statix.url = "github:nerdypepper/statix"; statix.url = "github:nerdypepper/statix";
nixpkgs-review-checks.url = "github:SuperSandro2000/nixpkgs-review-checks";
# Fish specific # Fish specific
dracula-fish = { dracula-fish = {
url = "github:dracula/fish"; url = "github:dracula/fish";

View File

@ -49,6 +49,8 @@
emacs = editor; emacs = editor;
nixpkgs-review = "nixpkgs-review-checks";
nixpkgs-pr = "nixpkgs-review pr --token ${ nixpkgs-pr = "nixpkgs-review pr --token ${
if (config.modules.cli.shell.name == "fish") then "" else "$" if (config.modules.cli.shell.name == "fish") then "" else "$"
}(cat /run/agenix/github)"; }(cat /run/agenix/github)";

View File

@ -2,6 +2,7 @@
final: prev: { final: prev: {
python-dev = import ./python.nix final prev; python-dev = import ./python.nix final prev;
nixpkgs-review = inputs.nixpkgs-review-checks.defaultPackage."${prev.system}";
master = import inputs.master { master = import inputs.master {
inherit (prev) system; inherit (prev) system;
config.allowUnfree = true; config.allowUnfree = true;