diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-03-24 13:07:31 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-03-24 13:07:31 +0530 |
| commit | 33a320d48dddb44ec7d838ae9fdeaa44fabba342 (patch) | |
| tree | 014f151fce890fbfbc22c52a20ad6abf1be65ab8 | |
| parent | 3fe5ec5e74fa8e274ccf18a80e3a134205639bef (diff) | |
add env
| -rw-r--r-- | .envrc | 1 | ||||
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | flake.lock | 27 | ||||
| -rw-r--r-- | flake.nix | 13 |
4 files changed, 44 insertions, 0 deletions
@@ -0,0 +1 @@ +use flake @@ -172,3 +172,6 @@ cython_debug/ # PyPI configuration file .pypirc + +venv/ +.direnv/ diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..15012bd --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1742669843, + "narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "1e5b653dff12029333a6546c11e108ede13052eb", + "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..444c595 --- /dev/null +++ b/flake.nix @@ -0,0 +1,13 @@ +{ + inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + + outputs = { self, nixpkgs, ... }: let + pkgs = import nixpkgs { system = "x86_64-linux"; config.allowUnfree = true; }; + in { + devShells.x86_64-linux.default = pkgs.mkShell { + buildInputs = with pkgs; [ + python3 + ]; + }; + }; +} |
