Skip to content

Commit

Permalink
dool: fix plugins not usable (#350267)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Oct 27, 2024
2 parents b27470a + 13b728f commit 34c3480
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/tools/system/dool/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
# fix the plugins directory
postPatch = ''
substituteInPlace dool \
--replace \
"os.path.abspath(os.path.dirname(sys.argv[0])) + '/plugins/'" \
--replace-fail \
"os.path.dirname(os.path.abspath(__file__)) + '/plugins/'" \
"'$out/share/dool/'"
'';

Expand Down

0 comments on commit 34c3480

Please sign in to comment.