Skip to content

Commit

Permalink
🧑‍💻 add nix-shell dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
otytlandsvik committed Jul 23, 2024
1 parent 380f0c4 commit a34f923
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use_nix
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,4 @@ venv.bak/

# mypy
.mypy_cache/
.direnv
2 changes: 1 addition & 1 deletion dev_utils.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

docker_command=""
path=".docker/docker-compose.development.yml"
Expand Down
10 changes: 10 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
pkgs ? import <nixpkgs> { },
}:

pkgs.mkShell {
nativeBuildInputs = with pkgs; [
python311
pipenv
];
}

0 comments on commit a34f923

Please sign in to comment.