nixpkgs-lint: refactor to pname+version and dontBuild

This commit is contained in:
Peder Bergebakken Sundt 2024-05-25 01:03:30 +02:00
parent d6823f4211
commit e9e8f72b3f

View File

@ -1,13 +1,14 @@
{ stdenv, lib, makeWrapper, perl, perlPackages }:
stdenv.mkDerivation {
name = "nixpkgs-lint-1";
pname = "nixpkgs-lint";
version = "1";
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perl perlPackages.XMLSimple ];
dontUnpack = true;
buildPhase = "true";
dontBuild = true;
installPhase =
''