Create dummy COOKIE file in Nix package to avoid runtime error
This commit is contained in:
@@ -12,6 +12,9 @@ beamPackages.mixRelease rec {
|
||||
|
||||
# Disable distributed Erlang to avoid COOKIE requirement
|
||||
postInstall = ''
|
||||
# Create a dummy COOKIE file to satisfy the release boot script
|
||||
echo "dummy_cookie" > $out/releases/COOKIE
|
||||
|
||||
# Create wrapper script that sets proper environment
|
||||
mv $out/bin/systant $out/bin/.systant-wrapped
|
||||
cat > $out/bin/systant << EOF
|
||||
|
||||
Reference in New Issue
Block a user