init project

This commit is contained in:
Solene Rapenne 2021-06-06 12:35:14 +02:00
parent 51bc3d5580
commit 2a454b30b2
2 changed files with 21 additions and 1 deletions

View File

@ -1,2 +1,15 @@
# guix-linux-run
# Presentation
This tool is a simple wrapper that help running Linux binaries on Guix because otherwise you can't easily execute a binary that doesn't come from the system itself.
This is inspired by the [steam-run](https://nixos.wiki/wiki/Steam#steam-run) wrapper available on NixOS, which is not related to Steam because it's used to run any Linux binary.
# Usage
You need to have to following packages installed to make it work: `gcc-objc++:lib glibc glib gcc gtk+ libxcomposite dbus-glib libxt`.
Then to use it, it's as easy as: `linux-run ./some_executable`.
# Integration
I will try to make it as a package into Guix so it will install the required dependencies in the profile when you install it.

7
linux-run Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
export LD_LIBRARY_PATH=~/.guix-profile/lib/
RUNNER=$(find ~/.guix-profile/lib/ -name 'ld-linux-*.so*')
$RUNNER $*