mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 10:34:54 +00:00

- system.copySystemConfiguration (requested by Ludovic Courtès) - system.extraSystemBuilderCmds svn path=/nixos/trunk/; revision=21406
5 lines
143 B
Nix
5 lines
143 B
Nix
# TODO: remove this file. There is lib.maybeEnv now
|
|
name: default:
|
|
let value = builtins.getEnv name; in
|
|
if value == "" then default else value
|