mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
Merge pull request #241217 from hughobrien/fpattern-tidy
fpattern: fix: skip dev output, use explicit repo name
This commit is contained in:
commit
bef40d4126
@ -3,19 +3,18 @@
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "1.9";
|
||||
pname = "fpattern";
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Loadmaster";
|
||||
repo = finalAttrs.pname;
|
||||
repo = "fpattern";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-/QvMQCmoocaXfDm3/c3IAPyfZqR6d7IiJ9UoFKZTpVI=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out $dev/include
|
||||
cp *.c *.h $dev/include
|
||||
mkdir -p $out/include
|
||||
cp *.c *.h $out/include
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user