summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-08-15 17:12:23 +0200
committerRobert Hensing <robert@roberthensing.nl>2021-08-15 17:36:41 +0200
commitfbafeb7ad5dd6196fcc5d84264e1706653a62f81 (patch)
tree5e80c4048b4206232b22dc2a8e893e6575ba93d8 /nixos/modules/config
parent1359293549af4f8ca536716d0432f3cdd0afe0c6 (diff)
downloadnixpkgs-fbafeb7ad5dd6196fcc5d84264e1706653a62f81.tar
nixpkgs-fbafeb7ad5dd6196fcc5d84264e1706653a62f81.tar.gz
nixpkgs-fbafeb7ad5dd6196fcc5d84264e1706653a62f81.tar.bz2
nixpkgs-fbafeb7ad5dd6196fcc5d84264e1706653a62f81.tar.lz
nixpkgs-fbafeb7ad5dd6196fcc5d84264e1706653a62f81.tar.xz
nixpkgs-fbafeb7ad5dd6196fcc5d84264e1706653a62f81.tar.zst
nixpkgs-fbafeb7ad5dd6196fcc5d84264e1706653a62f81.zip
treewide: runCommandNoCC -> runCommand
This has been synonymous for ~5y.
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/ldap.nix2
-rw-r--r--nixos/modules/config/networking.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/config/ldap.nix b/nixos/modules/config/ldap.nix
index 35813c168fd..85cad8b93d8 100644
--- a/nixos/modules/config/ldap.nix
+++ b/nixos/modules/config/ldap.nix
@@ -42,7 +42,7 @@ let
   # nslcd normally reads configuration from /etc/nslcd.conf.
   # this file might contain secrets. We append those at runtime,
   # so redirect its location to something more temporary.
-  nslcdWrapped = runCommandNoCC "nslcd-wrapped" { nativeBuildInputs = [ makeWrapper ]; } ''
+  nslcdWrapped = runCommand "nslcd-wrapped" { nativeBuildInputs = [ makeWrapper ]; } ''
     mkdir -p $out/bin
     makeWrapper ${nss_pam_ldapd}/sbin/nslcd $out/bin/nslcd \
       --set LD_PRELOAD    "${pkgs.libredirect}/lib/libredirect.so" \
diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix
index dba8977e482..8c4eec510e5 100644
--- a/nixos/modules/config/networking.nix
+++ b/nixos/modules/config/networking.nix
@@ -190,7 +190,7 @@ in
         protocols.source  = pkgs.iana-etc + "/etc/protocols";
 
         # /etc/hosts: Hostname-to-IP mappings.
-        hosts.source = pkgs.runCommandNoCC "hosts" {} ''
+        hosts.source = pkgs.runCommand "hosts" {} ''
           cat ${escapeShellArgs cfg.hostFiles} > $out
         '';