Skip to content

Commit

Permalink
Merge pull request #326036 from spitulax/odinfmt
Browse files Browse the repository at this point in the history
ols: include `odinfmt` in derivation
  • Loading branch information
thiagokokada authored Jul 12, 2024
2 parents d20388f + 29577a6 commit e505595
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 e505595

Please sign in to comment.