Add empty flake
authorLas Safin <me@las.rs>
Sun, 5 Sep 2021 20:42:01 +0000 (20:42 +0000)
committerLas Safin <me@las.rs>
Sun, 5 Sep 2021 20:42:01 +0000 (20:42 +0000)
flake.lock [new file with mode: 0644]
flake.nix [new file with mode: 0644]

diff --git a/flake.lock b/flake.lock
new file mode 100644 (file)
index 0000000..d6bf6a5
--- /dev/null
@@ -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 (file)
index 0000000..3911dde
--- /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: {};
+    };
+}