Nix String and Path Concatenation From Bas van Dijk: To understand these things I would recommend using nix-repl: $ nix-repl Welcome to Nix version 1.11.2. Type :? for help.