Nixpkgs: pacman: package does not contain makepkg.conf

Created on 17 Jun 2020  ·  1Comment  ·  Source: NixOS/nixpkgs

Describe the bug
makepkg cannot be run due missing makepkg.conf.

To Reproduce
Steps to reproduce the behavior:

 ✘ asbachb@nixos  ~/dev/src/aur/jenkins-lts   master ●  nix-shell -p pacman
[nix-shell:~/dev/src/aur/jenkins-lts]$ makepkg
==> ERROR: /etc/makepkg.conf not found.
    Aborting...

Expected behavior
Should make a package.

Notify maintainers
@mt-caret

Metadata

 ✘ asbachb@nixos  ~/dev/src/aur/jenkins-lts   master ●  nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.46, NixOS, 20.03.2157.db31e48c5c8 (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.6`
 - channels(asbachb): `""`
 - channels(root): `"nixos-20.03.2157.db31e48c5c8, nixos-unstable-20.09pre228204.467ce5a9f45"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:

attribute: pkgs.pacman
bug

Most helpful comment

It does contain the file, you just need to put it in your system's /etc/.

On NixOS you could do something like this:

  environment.etc."makepkg.conf".source = "${pkgs.pacman}/etc/makepkg.conf";

>All comments

It does contain the file, you just need to put it in your system's /etc/.

On NixOS you could do something like this:

  environment.etc."makepkg.conf".source = "${pkgs.pacman}/etc/makepkg.conf";
Was this page helpful?
0 / 5 - 0 ratings