Advertisement
Guest User

Untitled

a guest
Feb 24th, 2018
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FILE: lutris.nix
  2.  
  3.  
  4. with import <nixpkgs> {};
  5. stdenv.mkDerivation rec {
  6.   name = "lutris";
  7.   src = /home/gem/Downloads/lutris;
  8.   buildInputs =
  9.   [
  10.     sudo
  11.     python36Packages.pip
  12.     python36Packages.setuptools
  13.     python36Packages.pyyaml
  14.     python36Packages.pygobject3
  15.     gnome3.libsoup
  16.     python.mkDerivation {
  17.       name = "gi-1.2";
  18.       src = pkgs.fetchurl { url = "https://pypi.python.org/packages/0f/6a/6baccd9dba213be347964fcf27a7946005e9fbad2192876b17edb0c1b842/gi-1.2.tar.gz"; sha256 = "13e5a3c227a8bb6fdaf22ca5b70aa81acc936955cb5d3ec10c1c8bf34b79aaea"; };
  19.       doCheck = commonDoCheck;
  20.       buildInputs = commonBuildInputs;
  21.       propagatedBuildInputs = [
  22.         self."requests"
  23.       ];
  24.     }
  25.   ];
  26.  
  27.   installPhrase =
  28.   ''
  29.     python3 setup.py install
  30.   '';
  31. }
  32.  
  33.  
  34. COMMAND: nix-env -if lutris.nix --show-trace
  35.  
  36. ERROR: installing ‘lutris’
  37. 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:
  38. while evaluating ‘getOutput’ at /nix/store/dss9sg7j6bdnmdjcdcqxq71sap4p7y9n-nixos-18.03pre129076.831ef4756e3/nixos/lib/attrsets.nix:450:23, called from undefined position:
  39. 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:
  40. attribute ‘mkDerivation’ missing, at /home/gem/nix-builds/lutris.nix:13:5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement