Skip to content

Instantly share code, notes, and snippets.

@transhapHigsn
Created February 1, 2022 16:24

Revisions

  1. transhapHigsn created this gist Feb 1, 2022.
    5 changes: 5 additions & 0 deletions default.nix
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    { pkgs ? import <nixpkgs> { } }:
    pkgs.poetry2nix.mkPoetryApplication {
    projectDir = ./.;
    python = pkgs.python38;
    }
    17 changes: 17 additions & 0 deletions shell.nix
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    { pkgs ? import <nixpkgs> {} }:

    pkgs.mkShell {
    buildInputs = [
    pkgs.python38
    pkgs.poetry
    pkgs.curl
    pkgs.pkg-config
    pkgs.libxslt
    pkgs.libxml2
    pkgs.libtool
    pkgs.xmlsec
    ];

    PYTHONBREAKPOINT="ipdb.set_trace";
    DJANGO_SETTINGS_MODULE="module.settings.local";
    }