diff options
author | notgne2 | 2020-10-26 12:27:20 -0700 |
---|---|---|
committer | notgne2 | 2020-10-26 12:27:20 -0700 |
commit | 7ec0bc21cd3678e39270d7ea59bccaefa288abfa (patch) | |
tree | ba77cebea43ebc881e1a462ad1208227e15e677e /examples | |
parent | 426fb3c489dcbb4ccbf98a3ab6a7fe25e71b95ca (diff) |
Update example flakes
Diffstat (limited to 'examples')
-rw-r--r-- | examples/simple/flake.lock | 12 | ||||
-rw-r--r-- | examples/simple/flake.nix | 2 | ||||
-rw-r--r-- | examples/system/flake.lock | 12 | ||||
-rw-r--r-- | examples/system/flake.nix | 2 |
4 files changed, 14 insertions, 14 deletions
diff --git a/examples/simple/flake.lock b/examples/simple/flake.lock index a6a3fa9..fc92f40 100644 --- a/examples/simple/flake.lock +++ b/examples/simple/flake.lock @@ -8,11 +8,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1602454749, - "narHash": "sha256-wSPZEl6xyqewPrNQg9k6z3DLshn2Fwha8mDv8ECWMf8=", + "lastModified": 1603740297, + "narHash": "sha256-yeTrA8AaLzDFICApX725gQhKoHNI2TCqWAeOl9axVZE=", "owner": "serokell", "repo": "deploy-rs", - "rev": "e5bd558c5b6505621d3b5a27e9b39bf54f6788a1", + "rev": "426fb3c489dcbb4ccbf98a3ab6a7fe25e71b95ca", "type": "github" }, "original": { @@ -76,11 +76,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1602453019, - "narHash": "sha256-bEzkPMG5JTFpd7xsl73/K/hZ9jBgiRKMdkpmwAG4lwI=", + "lastModified": 1603739127, + "narHash": "sha256-mdLESpo4jXrAynLp7ypRaqkx6IS1jx2l78f1tg9iiJU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a6fec75d0472670448b9708e1619fef2c36af9d5", + "rev": "d699505277b99e4698d90563c5eb1b62ba5ba0ea", "type": "github" }, "original": { diff --git a/examples/simple/flake.nix b/examples/simple/flake.nix index a8ad0f7..e5003c7 100644 --- a/examples/simple/flake.nix +++ b/examples/simple/flake.nix @@ -16,6 +16,6 @@ }; }; - checks = { "x86_64-linux" = { jsonSchema = deploy-rs.lib.x86_64-linux.checkSchema self.deploy; }; }; + checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib; }; } diff --git a/examples/system/flake.lock b/examples/system/flake.lock index a6a3fa9..fc92f40 100644 --- a/examples/system/flake.lock +++ b/examples/system/flake.lock @@ -8,11 +8,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1602454749, - "narHash": "sha256-wSPZEl6xyqewPrNQg9k6z3DLshn2Fwha8mDv8ECWMf8=", + "lastModified": 1603740297, + "narHash": "sha256-yeTrA8AaLzDFICApX725gQhKoHNI2TCqWAeOl9axVZE=", "owner": "serokell", "repo": "deploy-rs", - "rev": "e5bd558c5b6505621d3b5a27e9b39bf54f6788a1", + "rev": "426fb3c489dcbb4ccbf98a3ab6a7fe25e71b95ca", "type": "github" }, "original": { @@ -76,11 +76,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1602453019, - "narHash": "sha256-bEzkPMG5JTFpd7xsl73/K/hZ9jBgiRKMdkpmwAG4lwI=", + "lastModified": 1603739127, + "narHash": "sha256-mdLESpo4jXrAynLp7ypRaqkx6IS1jx2l78f1tg9iiJU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a6fec75d0472670448b9708e1619fef2c36af9d5", + "rev": "d699505277b99e4698d90563c5eb1b62ba5ba0ea", "type": "github" }, "original": { diff --git a/examples/system/flake.nix b/examples/system/flake.nix index 32fefa1..021f9db 100644 --- a/examples/system/flake.nix +++ b/examples/system/flake.nix @@ -41,6 +41,6 @@ }; }; - checks = { "x86_64-linux" = { jsonSchema = deploy-rs.lib.x86_64-linux.checkSchema self.deploy; }; }; + checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib; }; } |