Patryk Wychowaniec

Results 114 comments of Patryk Wychowaniec

As for the notifications, I think GitHub's having some issues πŸ˜… -- similar thing happened e.g. [on the nixpkgs repository](https://github.com/NixOS/nixpkgs/pull/168300#issuecomment-1274398313), where a new message appeared just yesterday, while the commenter...

Hi, @shaaati - I've just released lxd-snapper 1.3.0 that supports LXD remotes πŸ™‚ The only thing that I haven't implemented is automatic `lxc copy --refresh` (mostly because it's got a...

I see - thanks for investigating, I'll try fixing it πŸ™‚

Hmm, reading files should work as-is (i.e. if it works during `cargo build`, it should work when compiling code through Naersk, too). Would you mind posting some code that I...

Ah, I see - yes, `root =` seems not to be working (and, apparently, for this particular use case where src and root resolve to different directories, this option couldn't...

You're probably running `nix-collect-garbage` or have [auto garbage-collecting](https://nixos.wiki/wiki/Storage_optimization) set up - those remove any manually-added files, since `nix-store --add-fixed` (or, equivalently, `nix store add-path`) don't register the files as garbage-collection...

@auroraanna if referencing the path in `environment.variables` is not enough for Nix to consider it present (maybe evaluation order here matters?), then I think you can invoke `nix-store --add-fixed` just...

The environment variable can be called whatever, even `TESTO_AYY_AYY` - as long as the installer is referenced _somewhere_, that should prevent Nix from garbage-collecting it πŸ™‚ (and environmental variables are...

> But why would it not garbage collect the file anymore? For the same reason it won't remove `./my-script` from `/nix/store` if you do: ```nix let my-script-wrapper = pkgs.writeShellScriptBin "my-script-wrapper"...

(we already have the escaping logic implemented as a part of `value_to_string.rs`, so my rough guess is that we should just re-use it to escape all keys before passing them...