nix: Update nixpkgs, and use 'flakeExposed' for systems list

This commit is contained in:
Sridhar Ratnakumar 2022-05-27 16:31:08 -04:00
parent a2f0e945e0
commit 3fc6858830
2 changed files with 4 additions and 4 deletions

6
flake.lock generated
View file

@ -38,11 +38,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1652840887, "lastModified": 1653326962,
"narHash": "sha256-gEK4NNa4GwIgTZE63kt/4WTFAWRTJVSa30+h4ZjFh9U=", "narHash": "sha256-W8feCYqKTsMre4nAEpv5Kx1PVFC+hao/LwqtB2Wci/8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "52dc75a4fee3fdbcb792cb6fba009876b912bfe0", "rev": "41cc1d5d9584103be4108c1815c350e07c807036",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -13,7 +13,7 @@
# cf. https://github.com/NixOS/nix/issues/3843#issuecomment-661720562 # cf. https://github.com/NixOS/nix/issues/3843#issuecomment-661720562
outputs = { self, nixpkgs, flake-parts, ... }: outputs = { self, nixpkgs, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit self; } { flake-parts.lib.mkFlake { inherit self; } {
systems = nixpkgs.lib.systems.supported.hydra; systems = nixpkgs.lib.systems.flakeExposed;
# The primed versions (self', inputs') are same as the non-primed # The primed versions (self', inputs') are same as the non-primed
# versions, but with 'system' already applied. # versions, but with 'system' already applied.
perSystem = { self', inputs', pkgs, system, ... }: perSystem = { self', inputs', pkgs, system, ... }: