diff options
author | Linnea Gräf <nea@nea.moe> | 2024-04-23 16:13:54 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-04-23 16:22:54 +0200 |
commit | dbc7f7452688afcdc13f3901e9ab78b61ff3853b (patch) | |
tree | 0fafa384d46c841a6d00251bae82ea6ae776227e | |
parent | 074da6d15f4582506acb8dfad0b409ca8264eef4 (diff) | |
download | moddevwiki-dbc7f7452688afcdc13f3901e9ab78b61ff3853b.tar.gz moddevwiki-dbc7f7452688afcdc13f3901e9ab78b61ff3853b.tar.bz2 moddevwiki-dbc7f7452688afcdc13f3901e9ab78b61ff3853b.zip |
Add nix shell
-rw-r--r-- | shell.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..b84497b --- /dev/null +++ b/shell.nix @@ -0,0 +1,13 @@ +let + pkgs = import <nixpkgs> {}; +in pkgs.mkShell { + buildInputs = [ + (pkgs.python3.withPackages (python-pkgs: [python-pkgs.virtualenv])) + pkgs.cairo + ]; + shellHook = '' + export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.cairo}/lib" + python -m venv "$PWD"/venv + source "$PWD"/venv/bin/activate + ''; +} |