Skip to content

Commit

Permalink
Update Cwd.pm to work on Guix & NixOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Frosku committed Apr 30, 2021
1 parent cc442aa commit 8160623
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/PathTools/Cwd.pm
Expand Up @@ -155,6 +155,8 @@ if($^O ne 'MSWin32') {
foreach my $try ('/bin/pwd',
'/usr/bin/pwd',
'/QOpenSys/bin/pwd', # OS/400 PASE.
'/run/current-system/profile/bin/pwd', # GUIX
'/run/current-system/sw/bin/pwd' #NixOS
) {
if( -x $try ) {
$pwd_cmd = $try;
Expand Down

0 comments on commit 8160623

Please sign in to comment.