From 350afd8736da81eeb5c753f9ede744ba54f86089 Mon Sep 17 00:00:00 2001 From: Michael Raitza Date: Sun, 3 Jan 2021 13:24:04 +0100 Subject: [PATCH] Also provide packages directly for added convenience --- flake.lock | 24 ++++++++++++++++++++++++ flake.nix | 11 ++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 flake.lock diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..a941233 --- /dev/null +++ b/flake.lock @@ -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 +} diff --git a/flake.nix b/flake.nix index 606a16c..df6bfed 100644 --- a/flake.nix +++ b/flake.nix @@ -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 ]; }; }; }