Unverified Commit d64a0dfd authored by Aaron Andersen's avatar Aaron Andersen Committed by GitHub
Browse files

ly: populate $out/etc directory with relevant files (#512045)

parents 274c537c 193b32f5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -48,6 +48,11 @@ stdenv.mkDerivation (finalAttrs: {
    "-Denable_x11_support=${lib.boolToString x11Support}"
  ];

  postInstall = ''
    install -Dm0644 res/config.ini "$out/etc/config.ini"
    install -Dm0755 res/setup.sh "$out/etc/setup.sh"
  '';

  doInstallCheck = true;
  nativeInstallCheckInputs = [ versionCheckHook ];