Skip to content

Commit

Permalink
build: Add installPhase
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Dec 7, 2023
1 parent 8a18389 commit def75f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
pkgs.zlib
];

installPhase = ''
mkdir -p $out/bin
cp build/release/compare $out/bin
cp build/release/dragen-os $out/bin
'';

env = {
BOOST_INCLUDEDIR = "${pkgs.lib.getDev pkgs.boost}/include";
BOOST_LIBRARYDIR = "${pkgs.lib.getLib pkgs.boost}/lib";
Expand Down

0 comments on commit def75f6

Please sign in to comment.