Skip to content

Commit

Permalink
ref: only copy dev files in postInstall
Browse files Browse the repository at this point in the history
  • Loading branch information
Dich0tomy committed May 23, 2024
1 parent 9673ce0 commit 3957be3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions nix/package/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,8 @@ stdenv.mkDerivation {
"-Dstrip=true"
];

buildPhase = ''
meson compile dire
'';

installPhase = ''
mkdir -p {$dev,$out}/lib $dev/lib/pkgconfig $dev/include
cp src/lib/libdire.a $out/lib
cp src/lib/libdire.a $dev/lib
postInstall = ''
mkdir -p $dev/lib/pkgconfig $dev/include
cp -r $src/src/lib/include/* $dev/include
Expand Down

0 comments on commit 3957be3

Please sign in to comment.