diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-12-25 23:22:37 +0200 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-12-25 23:22:37 +0200 |
commit | fb793226708a49378d884c5b0c4e79b944b29658 (patch) | |
tree | 126cd1e317c3ccd8cda8514154b431f2e0ab9e35 | |
download | flake-stuff-master.tar.gz flake-stuff-master.tar.bz2 flake-stuff-master.zip |
-rw-r--r-- | flake.lock | 27 | ||||
-rw-r--r-- | flake.nix | 15 |
2 files changed, 42 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..050526c --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1734119587, + "narHash": "sha256-AKU6qqskl0yf2+JdRdD0cfxX4b9x3KKV5RqA6wijmPM=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "3566ab7246670a43abd2ffa913cc62dad9cdf7d5", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-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..c7a9a1c --- /dev/null +++ b/flake.nix @@ -0,0 +1,15 @@ +{ + description = "A very basic flake"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-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; + + }; +} |