Skip to content

Commit

Permalink
fixup: use the real bindir for systemd unit's bindir
Browse files Browse the repository at this point in the history
Prior to this commit, the unit contained this line:

     ExecStart=@share/nix-daemon nix-daemon --daemon

Notice how it's trying to execute `share/nix-daemon`, which is unlikely
to exist.

Now with this commit, the path to the daemon binary is properly set:

     ExecStart=@/nix/store/lcbx6d8gzznf3z3c8lsv9jy3j6c67x6r-nix-2.25.0pre20240903_dirty/bin/nix-daemon nix-daemon --daemon
  • Loading branch information
cole-h committed Sep 3, 2024
1 parent 1073a8e commit fd290da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/systemd/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ foreach config : [ 'nix-daemon.socket', 'nix-daemon.service' ]
configuration : {
'storedir' : store_dir,
'localstatedir' : localstatedir,
'bindir' : get_option('datadir'),
'bindir' : bindir,
},
)
endforeach
Expand Down

0 comments on commit fd290da

Please sign in to comment.