From: Las Safin Date: Sun, 5 Sep 2021 20:42:01 +0000 (+0000) Subject: Add empty flake X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=592a924f61e97d169bad589828c4f906201f1a4a;p=soc.git Add empty flake --- diff --git a/flake.lock b/flake.lock new file mode 100644 index 00000000..d6bf6a5a --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1630612789, + "narHash": "sha256-f1q5ExkMX2CBqBcRmrlnpewADt3EjhyncP/PfwUhK/Q=", + "owner": "L-as", + "repo": "nixpkgs", + "rev": "11f9ff27bc66bf653ccbbfae1412e6f5705e4a5c", + "type": "github" + }, + "original": { + "owner": "L-as", + "ref": "alliance", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 00000000..3911dde3 --- /dev/null +++ b/flake.nix @@ -0,0 +1,22 @@ +# The license for this file is included in the `nix` directory next to this file. + +{ + description = "FOSS CPU/GPU/VPU/SoC all in one, see https://libre-soc.org/"; + + inputs.nixpkgs.url = "github:L-as/nixpkgs?ref=alliance"; # for alliance + + outputs = { self, nixpkgs }: + let + version = builtins.substring 0 8 self.lastModifiedDate; + + supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; + + forAllSystems = nixpkgs.lib.genAttrs supportedSystems; + + nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; overlays = [ self.overlay ]; }); + + in + { + overlay = final: prev: {}; + }; +}