Files
home-manager/tests/modules/programs/poetry/default-settings.nix
K900 0668fdbc15 treewide: stdenv.is* -> stdenv.hostPlatform.is*
Nixpkgs officialy deprecated the former.
2026-08-13 08:40:58 +02:00

18 lines
363 B
Nix

{ pkgs, ... }:
{
programs.poetry = {
enable = true;
};
nmt.script =
let
expectedConfDir =
if pkgs.stdenv.hostPlatform.isDarwin then "Library/Application Support" else ".config";
expectedConfigPath = "home-files/${expectedConfDir}/pypoetry/config.toml";
in
''
assertPathNotExists "${expectedConfigPath}"
'';
}