Skip to content

Commit

Permalink
ols: include odinfmt in derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
spitulax committed Jul 10, 2024
1 parent 16e401f commit 29577a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/by-name/ol/ols/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ stdenv.mkDerivation {
};

postPatch = ''
patchShebangs build.sh
patchShebangs build.sh odinfmt.sh
'';

nativeBuildInputs = [ makeBinaryWrapper ];
Expand All @@ -29,15 +29,15 @@ stdenv.mkDerivation {
buildPhase = ''
runHook preBuild
./build.sh
./build.sh && ./odinfmt.sh
runHook postBuild
'';

installPhase = ''
runHook preInstall
install -Dm755 ols -t $out/bin/
install -Dm755 ols odinfmt -t $out/bin/
wrapProgram $out/bin/ols --set-default ODIN_ROOT ${odin}/share
runHook postInstall
Expand Down

0 comments on commit 29577a6

Please sign in to comment.