You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is quite possible/likely that I am doing something wrong, and I would love pointers in the right direction. At this same time, this is not a great failure mode.
Additional context
To reproduce, run the following script on a system with flakes enabled:
{description="Application packaged using poetry2nix";inputs.flake-utils.url="github:numtide/flake-utils";inputs.nixpkgs.url="github:NixOS/nixpkgs/nixos-unstable";inputs.poetry2nix={url="github:nix-community/poetry2nix";inputs.nixpkgs.follows="nixpkgs";};outputs={self,nixpkgs,flake-utils,poetry2nix}:
flake-utils.lib.eachDefaultSystem(system:
let# see https://github.com/nix-community/poetry2nix/tree/master#api for more functions and examples.inherit(poetry2nix.legacyPackages.${system})mkPoetryApplication;pkgs=nixpkgs.legacyPackages.${system};in{packages={myapp=mkPoetryApplication{projectDir=self;};default=self.packages.${system}.myapp;};devShells.default=pkgs.mkShell{packages=[poetry2nix.packages.${system}.poetry];};});}
# This file is automatically @generated by Poetry 1.7.0.dev0 and should not be changed by hand.package = []
[metadata]
lock-version = "2.0"python-versions = "^3.10"content-hash = "53f2eabc9c26446fbcc00d348c47878e118afc2054778c3c803a0a8028af27d9"
The text was updated successfully, but these errors were encountered:
paholg
changed the title
New project with flake hangs, using seemingly infinite memroy
New project with flake hangs, using seemingly infinite memory
Oct 4, 2023
Describe the issue
I created a new python project, and tried the flake template. Then,
nix shell
hangs and uses more and more memory until I kill it.This is the only output produced:
It is quite possible/likely that I am doing something wrong, and I would love pointers in the right direction. At this same time, this is not a great failure mode.
Additional context
To reproduce, run the following script on a system with flakes enabled:
flake.nix
:pyproject.toml
:poetry.lock
:The text was updated successfully, but these errors were encountered: