expose packages

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2024-05-28 05:54:50 +05:30
parent 111920a63f
commit 2831c62ee2
4 changed files with 18 additions and 55 deletions

58
flake.lock generated
View File

@@ -1,26 +1,5 @@
{ {
"nodes": { "nodes": {
"aagl-gtk": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1716664326,
"narHash": "sha256-L7MeDg9Q6Si2Rwxe++BoNdldX9Os/DzqoqGDJod0qyk=",
"owner": "ezKEa",
"repo": "aagl-gtk-on-nix",
"rev": "347a50c615c45b3c89c41e774736861b7b41cf71",
"type": "github"
},
"original": {
"owner": "ezKEa",
"repo": "aagl-gtk-on-nix",
"type": "github"
}
},
"blobs": { "blobs": {
"flake": false, "flake": false,
"locked": { "locked": {
@@ -39,7 +18,7 @@
}, },
"cargo2nix": { "cargo2nix": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat",
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
@@ -102,11 +81,11 @@
"flake-compat": { "flake-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1696426674, "lastModified": 1650374568,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", "rev": "b4a34015c698c7793d592d66adbab377907a2be8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -118,11 +97,11 @@
"flake-compat_2": { "flake-compat_2": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1650374568, "lastModified": 1696426674,
"narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "b4a34015c698c7793d592d66adbab377907a2be8", "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -163,22 +142,6 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat_5": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
@@ -521,7 +484,7 @@
"mailserver": { "mailserver": {
"inputs": { "inputs": {
"blobs": "blobs", "blobs": "blobs",
"flake-compat": "flake-compat_3", "flake-compat": "flake-compat_2",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
@@ -783,7 +746,7 @@
}, },
"nvim-overlay": { "nvim-overlay": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_4", "flake-compat": "flake-compat_3",
"flake-parts": "flake-parts_3", "flake-parts": "flake-parts_3",
"hercules-ci-effects": "hercules-ci-effects", "hercules-ci-effects": "hercules-ci-effects",
"neovim-src": "neovim-src", "neovim-src": "neovim-src",
@@ -806,7 +769,7 @@
}, },
"pre-commit-hooks": { "pre-commit-hooks": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_5", "flake-compat": "flake-compat_4",
"gitignore": "gitignore", "gitignore": "gitignore",
"nixpkgs": [ "nixpkgs": [
"nvim-overlay", "nvim-overlay",
@@ -833,7 +796,6 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"aagl-gtk": "aagl-gtk",
"emacs-overlay": "emacs-overlay", "emacs-overlay": "emacs-overlay",
"filehost": "filehost", "filehost": "filehost",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",

View File

@@ -37,10 +37,6 @@
url = github:hyprwm/contrib; url = github:hyprwm/contrib;
#inputs.nixpkgs.follows = "nixpkgs"; #inputs.nixpkgs.follows = "nixpkgs";
}; };
aagl-gtk = {
url = github:ezKEa/aagl-gtk-on-nix;
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = inputs@{ self, ... }: outputs = inputs@{ self, ... }:
@@ -63,6 +59,9 @@
formatter formatter
]; ];
}; };
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
};
}; };
}; };
} }

View File

@@ -1,10 +1,8 @@
{ config, pkgs, self, ... }: { self, ... }:
{ {
nixpkgs = { nixpkgs = {
config = { config = {
allowUnfree = true;
allowBroken = true; allowBroken = true;
allowInsecure = true;
}; };
overlays = [ overlays = [
self.overlays.default self.overlays.default

View File

@@ -5,4 +5,8 @@
default = packages; default = packages;
}; };
}; };
perSystem = { pkgs, ... }: {
packages = self.overlays.default null pkgs;
};
} }