Talk: Nixpkgs/Building RPM DEB with nixpkgs
From NixOS Wiki
nix-build ./deb.nix
error: undefined variable 'lib'
at nixpkgs/pkgs/build-support/release/debian-build.nix:60:23:
59| --fstrans=${if fsTranslation then "yes" else "no"} \ 60| --requires="${lib.concatStringsSep "," debRequires}" \ | ^ 61| --provides="${lib.concatStringsSep "," debProvides}" \