fpattern: fix: skip dev output, use explicit repo name
This commit is contained in:
parent
2c8953ca9a
commit
d183e16cb1
|
@ -3,19 +3,18 @@
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
version = "1.9";
|
version = "1.9";
|
||||||
pname = "fpattern";
|
pname = "fpattern";
|
||||||
outputs = [ "out" "dev" ];
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Loadmaster";
|
owner = "Loadmaster";
|
||||||
repo = finalAttrs.pname;
|
repo = "fpattern";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-/QvMQCmoocaXfDm3/c3IAPyfZqR6d7IiJ9UoFKZTpVI=";
|
hash = "sha256-/QvMQCmoocaXfDm3/c3IAPyfZqR6d7IiJ9UoFKZTpVI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir -p $out $dev/include
|
mkdir -p $out/include
|
||||||
cp *.c *.h $dev/include
|
cp *.c *.h $out/include
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue