From 2afee7bba276390192a0c22b9f708d5f1052e0a0 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 19 Feb 2022 16:14:26 +0300 Subject: lmao --- flake.lock | 18 +++++------ flake.nix | 10 +++--- test.sh | 103 ------------------------------------------------------------- 3 files changed, 15 insertions(+), 116 deletions(-) delete mode 100755 test.sh diff --git a/flake.lock b/flake.lock index f0c5f50..a3610e9 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "flake-compat": { "flake": false, "locked": { - "lastModified": 1627913399, - "narHash": "sha256-hY8g6H2KFL8ownSiFeMOjwPC8P0ueXpCVEbxgda3pko=", + "lastModified": 1641205782, + "narHash": "sha256-4jY7RCWUoZ9cKD8co0/4tFARpWB+57+r1bLLvXNJliY=", "owner": "edolstra", "repo": "flake-compat", - "rev": "12c64ca55c1014cdc1b16ed5a804aa8576601ff2", + "rev": "b7547d3eed6f32d06102ead8991ec52ab0a4f1a7", "type": "github" }, "original": { @@ -19,11 +19,11 @@ }, "flake-utils": { "locked": { - "lastModified": 1638122382, - "narHash": "sha256-sQzZzAbvKEqN9s0bzWuYmRaA03v40gaJ4+iL1LXjaeI=", + "lastModified": 1644229661, + "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=", "owner": "numtide", "repo": "flake-utils", - "rev": "74f7e4319258e287b0f9cb95426c9853b282730b", + "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797", "type": "github" }, "original": { @@ -35,11 +35,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1638366923, - "narHash": "sha256-Sh6+Pm0ShdtqW+BGynIJX+F12Lqs0xJq6qWmDkZN2uA=", + "lastModified": 1645013224, + "narHash": "sha256-b7OEC8vwzJv3rsz9pwnTX2LQDkeOWz2DbKypkVvNHXc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1fbcb733eb9daf23ab9e70e58e76fa0b767dc033", + "rev": "b66b39216b1fef2d8c33cc7a5c72d8da80b79970", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 985cc57..39a96f9 100644 --- a/flake.nix +++ b/flake.nix @@ -68,7 +68,9 @@ ]); }; in { - defaultPackage = project false; + packages.${name} = project false; + + defaultPackage = self.packages.${system}.${name}; checks.preCommit = pre-commit-hooks.lib.${system}.run { src = ./.; @@ -102,7 +104,7 @@ }; devShell = self.devShells.${system}.dev; - }) // { - overlay = _: _: { ${name} = self.defaultPackage; }; - }; + + overlay = _: _: { ${name} = self.defaultPackage.${system}; }; + }); } diff --git a/test.sh b/test.sh deleted file mode 100755 index 3fe68f2..0000000 --- a/test.sh +++ /dev/null @@ -1,103 +0,0 @@ -#!/usr/bin/env bash - -################################################################################ -usage() { - cat <