nixos/templates/poetry.nix

11 lines
183 B
Nix
Raw Normal View History

{ pkgs ? import <nixpkgs> { } }:
let
myAppEnv = pkgs.poetry2nix.mkPoetryEnv {
projectDir = ./.;
editablePackageSources = {
my-app = ./src;
};
};
in
myAppEnv.env