gnuk: replace configurePhase with configureFlags and sourceRoot

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
Fernando Rodrigues
2024-10-31 15:54:48 +00:00
parent 4e63264c54
commit ac2bd873a3
+4 -5
View File
@@ -34,12 +34,11 @@ stdenv.mkDerivation {
colorama
];
configurePhase = ''
cd src
patchShebangs configure
./configure --vidpid=${vid}:${pid}
'';
sourceRoot = "${finalAttrs.src.name}/src";
configureFlags = [ "--vidpid=${vid}:${pid}" ];
# TODO: Check how many of these patches are actually needed.
installPhase = ''
mkdir -p $out/bin