Using Guix as a shell system

Needed to package corrosion and still need to figure out how to tell
the cargo build script to find where QtQML includes are in the guix shell
This commit is contained in:
Chris Cochrun 2023-06-30 10:16:34 -05:00
parent 1b57171b1d
commit db761d0399
5 changed files with 101 additions and 65 deletions

7
.envrc
View file

@ -1,5 +1,8 @@
export NIXPKGS_ALLOW_INSECURE=1
# export NIXPKGS_ALLOW_INSECURE=1
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export CMAKE_EXPORT_COMPILE_COMMANDS=1
export CMAKE_BUILD_TYPE=Debug
use flake . --impure
export CXX=g++
export CC=gcc
# use flake . --impure
# eval $(guix shell -D --search-paths)