diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-03-12 14:38:26 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-03-12 14:38:26 +0100 |
commit | c559db00812ac35ef151a9f80e6a6abd1e19ffe2 (patch) | |
tree | acc9e27b7f9b0b1dc43059a29186971f0c4151cd |
Base setup for nix
-rw-r--r-- | .nix/derivation.nix | 16 | ||||
-rw-r--r-- | default.nix | 7 |
2 files changed, 23 insertions, 0 deletions
diff --git a/.nix/derivation.nix b/.nix/derivation.nix new file mode 100644 index 0000000..8c33c6f --- /dev/null +++ b/.nix/derivation.nix @@ -0,0 +1,16 @@ +{ lib +, stdenv +, python3 +, python3Packages +}: + +stdenv.mkDerivation { + pname = "kel-cv"; + version = "0.0.0"; + + nativeBuildInputs = [ + python3 + ]; + + src = ./..; +} diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..8c3aa22 --- /dev/null +++ b/default.nix @@ -0,0 +1,7 @@ +{ pkgs ? import <nixpkgs> {}, + stdenv ? pkgs.stdenv +}: + +pkgs.callPackage .nix/derivation.nix { + inherit stdenv; +} |