mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 01:31:39 -05:00

We don't want to accidentally end up with aliases in the code base that then breaks nixpkgs when it's eventually incorporated.
9 lines
273 B
Nix
9 lines
273 B
Nix
{ lib, poetry2nix, python37, runCommand }:
|
|
let
|
|
drv = poetry2nix.mkPoetryApplication {
|
|
python = python37;
|
|
projectDir = ./.;
|
|
};
|
|
in
|
|
assert lib.strings.hasSuffix ".egg" (lib.elemAt drv.passthru.python.pkgs.pyasn1.src.urls 0);
|
|
runCommand "egg-test" { } "touch $out"
|