🔨 add nix overlay
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
James Walker 2023-07-27 14:52:21 -04:00
parent ea4766fa8d
commit 3ad1dcfa4f
Signed by: walkah
GPG Key ID: 3C127179D6086E93
2 changed files with 13 additions and 9 deletions

14
flake.lock generated
View File

@ -21,11 +21,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1685518550,
"narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
"lastModified": 1689068808,
"narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
"rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4",
"type": "github"
},
"original": {
@ -36,16 +36,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1686186443,
"narHash": "sha256-Cdz0cYVvS3n2YhyJBgPznIDjsuRyX0OBXkDH3dU/Eo8=",
"lastModified": 1690370995,
"narHash": "sha256-9z//23jGegLJrf3ITStLwVf715O39dq5u48Kr/XW14U=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "59fcfbea18ef091907a114ed41ccba6fc926994a",
"rev": "f3fbbc36b4e179a5985b9ab12624e9dfe7989341",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "release-23.05",
"ref": "nixos-23.05",
"repo": "nixpkgs",
"type": "github"
}

View File

@ -2,7 +2,7 @@
description = "Manage tmux for what you work on.";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/release-23.05";
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
flake-utils.url = "github:numtide/flake-utils";
flake-compat = {
url = "github:edolstra/flake-compat";
@ -11,7 +11,11 @@
};
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
{
overlays.default = final: prev: {
inherit (self.packages.${prev.system}) workon;
};
} // flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in
{