diff options
author | Paul Garlick <pgarlick@tourbillion-technology.com> | 2017-03-01 18:55:46 +0000 |
---|---|---|
committer | Paul Garlick <pgarlick@tourbillion-technology.com> | 2017-03-01 18:55:46 +0000 |
commit | a69b14eecdfbf32610793d14b534726290c83fd1 (patch) | |
tree | dcc41c6866f1c155e5e4f82fdc846bbc7a123ed5 | |
parent | d0d1dd1afe9f2df71e3c7958b43af16e92aeaba9 (diff) | |
download | tweed-a69b14eecdfbf32610793d14b534726290c83fd1.tar.gz |
include libdrm and libpciaccess in Nix profile
-rw-r--r-- | INSTALL.md | 10 | ||||
-rw-r--r-- | tweed.nix | 7 |
2 files changed, 10 insertions, 7 deletions
@@ -1,5 +1,5 @@ # Tweed.INSTALL -Copyright © 2016 Paul Garlick <[pgarlick@tourbillion-technology.com](mailto:pgarlick@tourbillion-technology.com)> +Copyright © 2016, 2017 Paul Garlick <[pgarlick@tourbillion-technology.com](mailto:pgarlick@tourbillion-technology.com)> Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright @@ -110,10 +110,10 @@ necessary environment variables and runs the FreeCAD application: FONTCONFIG_PATH="$HOME/.nix-profile/etc/fonts/fonts.conf" \ LIBGL_DRIVERS_PATH="/usr/lib64/dri" \ LIB1="/lib64/libselinux.so.1" \ - LIB2="/usr/lib64/libdrm_radeon.so" \ - LIB3="/usr/lib64/libpciaccess.so.0" \ - LIB4="/usr/lib64/libdrm.so" \ - LIB5="/usr/lib64/libdrm_intel.so" \ + LIB2="$HOME/.nix-profile/lib/libdrm.so" \ + LIB3="$HOME/.nix-profile/lib/libdrm_intel.so" \ + LIB4="$HOME/.nix-profile/lib/libdrm_radeon.so" \ + LIB5="$HOME/.nix-profile/lib/libpciaccess.so.0" \ LD_PRELOAD=$LIB1:$LIB2:$LIB3:$LIB4:$LIB5 \ FreeCAD } @@ -1,5 +1,5 @@ ;;; Tweed --- Package management for engineering software -;;; Copyright (C) 2016 Paul Garlick <pgarlick@tourbillion-technology.com> +;;; Copyright (C) 2016, 2017 Paul Garlick <pgarlick@tourbillion-technology.com> ;;; ;;; Tweed is free software: you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by @@ -16,4 +16,7 @@ with (import <nixpkgs> {}); -{ inherit fontconfig freecad; } +{ + inherit fontconfig freecad; + inherit libdrm libpciaccess; +} |