Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 29 lines 1.2 kB view raw
1diff --git a/libbrasero-burn/burn-plugin.c b/libbrasero-burn/burn-plugin.c 2index f97bc5f..88e9d35 100644 3--- a/libbrasero-burn/burn-plugin.c 4+++ b/libbrasero-burn/burn-plugin.c 5@@ -221,21 +221,10 @@ brasero_plugin_test_app (BraseroPlugin *plugin, 6 return; 7 } 8 9- /* make sure that's not a symlink pointing to something with another 10- * name like wodim. 11- * NOTE: we used to test the target and see if it had the same name as 12- * the symlink with GIO. The problem is, when the symlink pointed to 13- * another symlink, then GIO didn't follow that other symlink. And in 14- * the end it didn't work. So forbid all symlink. */ 15- if (g_file_test (prog_path, G_FILE_TEST_IS_SYMLINK)) { 16- brasero_plugin_add_error (plugin, 17- BRASERO_PLUGIN_ERROR_SYMBOLIC_LINK_APP, 18- name); 19- g_free (prog_path); 20- return; 21- } 22+ /* disable symlink check on nixos */ 23+ 24 /* Make sure it's a regular file */ 25- else if (!g_file_test (prog_path, G_FILE_TEST_IS_REGULAR)) { 26+ if (!g_file_test (prog_path, G_FILE_TEST_IS_REGULAR)) { 27 brasero_plugin_add_error (plugin, 28 BRASERO_PLUGIN_ERROR_MISSING_APP, 29 name);