some more nix magic