/ nix / lib / scripts / buck2-configure.bash
buck2-configure.bash
 1  runHook preConfigure
 2  
 3  # Write .buckconfig.local with Nix store paths
 4  cp "$buckconfigFile" .buckconfig.local
 5  chmod 644 .buckconfig.local
 6  
 7  # Link prelude if not present
 8  if [ ! -d "prelude" ] && [ ! -L "prelude" ]; then
 9  	ln -sf "$buck2Prelude" prelude
10  fi
11  
12  runHook postConfigure