From 119dec9f1bd6f99590dc6a2cb00f476787bcb0be Mon Sep 17 00:00:00 2001 From: h7x4 Date: Fri, 4 Nov 2022 12:43:39 +0100 Subject: [PATCH] Init commit --- flake.lock | 26 ++++++++++++++++++++++++++ flake.nix | 19 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 flake.lock create mode 100644 flake.nix diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..27f40a1 --- /dev/null +++ b/flake.lock @@ -0,0 +1,26 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1667420999, + "narHash": "sha256-NDz83NKuuEuonbhC5HnfhUpZsJQGmAWJr22snKGfhKs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "4f09cfce9c1d54fb56b65125061a632849de1a49", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-22.05", + "type": "indirect" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..56ab136 --- /dev/null +++ b/flake.nix @@ -0,0 +1,19 @@ +{ + description = "h7x4s WIP packages that has not been added to nixpkgs (yet?)"; + + inputs.nixpkgs.url = "nixpkgs/nixos-22.05"; + + outputs = { self, nixpkgs, ... }: let + # I don't have any other systems to test on yet... + system = "x86_64-linux"; + + pkgs = nixpkgs.legacyPackages.${system}; + inherit (pkgs) lib; + in { + overlays.default = new: old: old // self.packages.${system}; + + packages.${system} = {}; + + hydraJobs = {}; + }; +}