Ryan Gibb
Ryan Gibb
I'm having the same problem trying to port an existing app to nix.
@alexvorobiev I haven't used it myself, so I don't know what state it's in, but https://github.com/nix-community/dream2nix might be a possibility.
You're very welcome.
I've actually ended up doing something a bit custom with maildir-rank-addr as well as an ldap query, but something like: ``` compose.address-book-cmd = "${pkgs.ugrep}/bin/ugrep -jPh -m 100 --color=never "$1" {config.accounts.email.maildirBasePath}/addressbook;...
I think this is blocked on https://github.com/NixOS/nixpkgs/pull/280334 though
It looks like you're right ``` $ nix store verify /nix/store/7g1ndri1x7pizk1n0rld99mc14xmd5vq-source path '/nix/store/7g1ndri1x7pizk1n0rld99mc14xmd5vq-source' was modified! expected hash 'sha256:1c81kr9msl9dy5pld1dw824mnbqx3r91zzlwnnac4wcbz64r32fk', got 'sha256:0450lrbg2vvs83ql59v19v5h0a5gqarn0f2lazp9qyad8b7svrhd' ```
Though, I'm still unsure why this is repeatably getting corrupted.
> However doing this doesn't seem to set up a build environment (environment variables etc). Specifically, `NIX_CFLAGS_COMPILE`.
The `nix-shell` command does set these kind of environment variables. The `pkgs.mkShell` function in Nixpkgs basically does: ``` stdenv.mkDerivation { name = "shell"; nativeBuildInputs = [ pkgs.gmp ]; phases =...
It looks like something might be possible similar to https://github.com/NixOS/nix/issues/5567