veleiro: This is usually accomplished by something like this: ```Nix { pkgs ? import { }, forNixOS ? true }: pkgs.writeShellScript "hello" '' echo ${if forNixOS then "NixOS" else "other Linux"}! '' ```