about summary refs log tree commit diff
path: root/scripts/NixConfig.pm.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/NixConfig.pm.in')
-rw-r--r--scripts/NixConfig.pm.in17
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/NixConfig.pm.in b/scripts/NixConfig.pm.in
deleted file mode 100644
index aeb443aeed3a..000000000000
--- a/scripts/NixConfig.pm.in
+++ /dev/null
@@ -1,17 +0,0 @@
-use strict;
-
-sub readConfig {
-    my %config;
-    my $config = "@sysconfdir@/nix/nix.conf";
-    return unless -f $config;
-    
-    open CONFIG, "<$config" or die "cannot open `$config'";
-    while (<CONFIG>) {
-        /^\s*([\w|-]+)\s*=\s*(.*)$/ or next;
-        $config{$1} = $2;
-        print "|$1| -> |$2|\n";
-    }
-    close CONFIG;
-}
-
-return 1;