mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
16 lines
352 B
Nix
16 lines
352 B
Nix
|
{ 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}"
|
||
|
'';
|
||
|
}
|