about summary refs log tree commit diff
path: root/profile/.profile.d/60_devtoolset.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--profile/.profile.d/60_devtoolset.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/profile/.profile.d/60_devtoolset.sh b/profile/.profile.d/60_devtoolset.sh
new file mode 100644
index 0000000..fcc1816
--- /dev/null
+++ b/profile/.profile.d/60_devtoolset.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ -f "/opt/rh/devtoolset-9/enable" ]; then
+	source scl_source enable "devtoolset-9"
+fi

Consider giving Nix/NixOS a try! <3