diff options
-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; +} |