mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
gnuk: replace configurePhase with configureFlags and sourceRoot
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
parent
4e63264c54
commit
ac2bd873a3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user