1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-03 05:23:32 +02:00
home-manager/tests/modules/programs/poetry/default-settings.nix

16 lines
352 B
Nix
Raw Normal View History

2024-02-24 17:39:35 +01:00
{ pkgs, ... }:
{
programs.poetry = { enable = true; };
test.stubs.poetry = { };
nmt.script = let
expectedConfDir =
if pkgs.stdenv.isDarwin then "Library/Application Support" else ".config";
expectedConfigPath = "home-files/${expectedConfDir}/pypoetry/config.toml";
in ''
assertPathNotExists "${expectedConfigPath}"
'';
}