Domen Kožar

Results 446 issues of Domen Kožar

A good example is mixing aarch64-darwin and x86_64-darwin. Another one is using unstable and stable to get different versions of software.

https://discourse.nixos.org/t/tutorial-for-setting-up-the-lamp-stack-on-a-nixos-server/12508/9

tutorial

Many years ago I wrote https://domenkozar.com/2014/03/11/why-puppet-chef-ansible-arent-good-enough-and-we-can-do-better/, but there's probably better way to explain today like https://constructolution.wordpress.com/2012/07/08/divergent-convergent-and-congruent-infrastructures/

https://brianmckenna.org/blog/running_binaries_on_nixos https://github.com/svanderburg/nix-patchtools

tutorial

What to do when things go wrong? - benchmarking - "my build failed now what?" - I get a weird error https://github.com/NixOS/nixpkgs/issues/62913

tutorial

Existing tutotrials: - https://nixos.org/manual/nix/unstable/advanced-topics/distributed-builds.html - https://eipi.xyz/blog/nix-aarch64-remote/ - https://eipi.xyz/blog/building-on-remote-server-for-nixos-on-raspberry-pi/ Notes: - builders-use-substitutes = true - https://github.com/nix-dot-dev/nix.dev/pull/123#issuecomment-889786823

tutorial

Unexpected usage error /nix/store/ikl21vjfq900ccbqg1xasp83kadw6q8y-glibc-2.32-46/lib/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE This happens when enviromnet glibc is older than the system glibc. In my case it was outdated haskell-language server pointing to...

guide

That one is tricky because be design `nixos-rebuild` depends on `$NIX_PATH`. There are a few ways forward: a) Flakes will solve this with locking, but they are not released yet....

Add small snippets of common things needed For example https://unix.stackexchange.com/questions/500025/how-to-add-a-file-to-etc-in-nixos/610798 https://www.reddit.com/r/NixOS/comments/nur5zv/simple_way_to_rename_symlink_or_wrap_a_system/