Skip to content

Commit 732aaad

Browse files
authored
dell-530cdn: set pname and version instead of name (#484203)
2 parents ce15962 + 5dd92af commit 732aaad

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

pkgs/by-name/de/dell-530cdn/package.nix

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ let
1212
sha256 = "0pj32sj6jcdnpa5v75af0hnvx4z0ky0m1k2522cfdx4cb1r2lna9";
1313
};
1414
in
15-
runCommand "Dell-5130cdn-Color-Laser-1.3-1" { } ''
16-
mkdir -p usr/share/cups/model
17-
${rpm}/bin/rpm2cpio ${src} | ${cpio}/bin/cpio -i
18-
mkdir -p $out/share/ppd
19-
mv usr/share/cups/model/Dell $out/share/ppd
20-
''
15+
runCommand "Dell-5130cdn-Color-Laser-${version}"
16+
{
17+
pname = "dell-5130cdn-color-laser";
18+
inherit version;
19+
}
20+
''
21+
mkdir -p usr/share/cups/model
22+
${rpm}/bin/rpm2cpio ${src} | ${cpio}/bin/cpio -i
23+
mkdir -p $out/share/ppd
24+
mv usr/share/cups/model/Dell $out/share/ppd
25+
''

0 commit comments

Comments
 (0)