Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FILE: lutris.nix
- with import <nixpkgs> {};
- stdenv.mkDerivation rec {
- name = "lutris";
- src = /home/gem/Downloads/lutris;
- buildInputs =
- [
- sudo
- python36Packages.pip
- python36Packages.setuptools
- python36Packages.pyyaml
- python36Packages.pygobject3
- gnome3.libsoup
- python.mkDerivation {
- name = "gi-1.2";
- src = pkgs.fetchurl { url = "https://pypi.python.org/packages/0f/6a/6baccd9dba213be347964fcf27a7946005e9fbad2192876b17edb0c1b842/gi-1.2.tar.gz"; sha256 = "13e5a3c227a8bb6fdaf22ca5b70aa81acc936955cb5d3ec10c1c8bf34b79aaea"; };
- doCheck = commonDoCheck;
- buildInputs = commonBuildInputs;
- propagatedBuildInputs = [
- self."requests"
- ];
- }
- ];
- installPhrase =
- ''
- python3 setup.py install
- '';
- }
- COMMAND: nix-env -if lutris.nix --show-trace
- ERROR: installing ‘lutris’
- error: while evaluating the attribute ‘buildInputs’ of the derivation ‘lutris’ at /nix/store/dss9sg7j6bdnmdjcdcqxq71sap4p7y9n-nixos-18.03pre129076.831ef4756e3/nixos/pkgs/stdenv/generic/make-derivation.nix:148:11:
- while evaluating ‘getOutput’ at /nix/store/dss9sg7j6bdnmdjcdcqxq71sap4p7y9n-nixos-18.03pre129076.831ef4756e3/nixos/lib/attrsets.nix:450:23, called from undefined position:
- while evaluating anonymous function at /nix/store/dss9sg7j6bdnmdjcdcqxq71sap4p7y9n-nixos-18.03pre129076.831ef4756e3/nixos/pkgs/stdenv/generic/make-derivation.nix:97:17, called from undefined position:
- attribute ‘mkDerivation’ missing, at /home/gem/nix-builds/lutris.nix:13:5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement