Skip to content

Commit

Permalink
dool: fix plugins not usable
Browse files Browse the repository at this point in the history
Due to a change of dool regarding packaging plugins in
scottchiefbaker/dool#74, the previous
substitution did not work anymore. This PR loads plugins by default
again.
  • Loading branch information
Schmiddiii committed Oct 26, 2024
1 parent 26a699a commit 13b728f
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 13b728f

Please sign in to comment.