Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1From b0f2b20b23780dd2e67a01c15462070dd86c4ac1 Mon Sep 17 00:00:00 2001 2From: Jan Tojnar <jtojnar@gmail.com> 3Date: Sun, 3 Mar 2019 11:50:27 +0100 4Subject: [PATCH] Fix build on Nix 5 6We do not have global /usr. 7--- 8 SConstruct | 2 +- 9 1 file changed, 1 insertion(+), 1 deletion(-) 10 11diff --git a/SConstruct b/SConstruct 12index 05755e4b..3fbdc1d8 100644 13--- a/SConstruct 14+++ b/SConstruct 15@@ -537,7 +537,7 @@ env['mandir'] = Template( env.destdir + env['MANDIR'] ).safe_substitute( env ) 16 env['pypkgdir'] = Template( env.destdir + env['PYPKGDIR'] ).safe_substitute( env ) 17 env['udevdir'] = Template( env.destdir + env['UDEVDIR'] ).safe_substitute( env ) 18 env['PYPKGDIR'] = Template( env['PYPKGDIR'] ).safe_substitute( env ) 19-env['metainfodir'] = Template( env.destdir + "/usr/share/metainfo" ).safe_substitute( env ) 20+env['metainfodir'] = Template( env.destdir + env['SHAREDIR'] + "/metainfo" ).safe_substitute( env ) 21 22 env.Command( target=env['sharedir'], source="", action=Mkdir( env['sharedir'] ) ) 23 24-- 252.19.2 26