Also provide packages directly for added convenience

master
Michael Raitza 2021-01-03 13:24:04 +01:00
parent 27d1bc7852
commit 350afd8736
2 changed files with 34 additions and 1 deletions

24
flake.lock Normal file
View File

@ -0,0 +1,24 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1606600693,
"narHash": "sha256-Xr03i0LlCD7PoBOIUNNFJss2uITrGoLF3LiOIW6seC0=",
"path": "/nix/store/60394i1ywi6jahim7fq0zkfxxn3f1pxr-source",
"rev": "29e9c10750e2b35a0e47db55f36c685ef9219f4e",
"type": "path"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View File

@ -1,5 +1,14 @@
{
outputs = { ... }: {
description = "Privately maintained packages";
inputs.nixpkgs = {
type = "indirect";
id = "nixpkgs";
};
outputs = { nixpkgs, ... }: rec {
overlay = import ./default.nix;
legacyPackages."x86_64-linux" = import nixpkgs { system = "x86_64-linux"; overlays = [ overlay ]; };
};
}