From 9cfdcdee0d6761d180b83953eb86ea789780355a Mon Sep 17 00:00:00 2001 From: osbm Date: Thu, 10 Apr 2025 23:25:02 +0300 Subject: [PATCH] initialize the flake --- flake.lock | 27 +++++++++++++++++++++++++++ flake.nix | 8 ++++++++ 2 files changed, 35 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..3ca697e --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1744157173, + "narHash": "sha256-bWSjxDwq7iVePrhmA7tY2dyMWHuNJo8knkO4y+q4ZkY=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "6a39c6e495eefabc935d8ddf66aa45d85b85fa3f", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "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 0000000..e78ab25 --- /dev/null +++ b/flake.nix @@ -0,0 +1,8 @@ +{ + description = "Build android applications with nix"; + inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; + outputs = { self, nixpkgs }: { + packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello; + packages.x86_64-linux.default = self.packages.x86_64-linux.hello; + }; +}