add shell.nix for building/running on NixOS
parent
5f2ace09d2
commit
b02ae64e91
|
@ -0,0 +1,20 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
(pkgs.buildFHSUserEnv {
|
||||||
|
name = "factor";
|
||||||
|
targetPkgs = pkgs: (with pkgs; [
|
||||||
|
# for running factor
|
||||||
|
gtk2-x11
|
||||||
|
glib
|
||||||
|
gdk_pixbuf
|
||||||
|
gnome2.pango
|
||||||
|
cairo
|
||||||
|
gnome2.gtkglext
|
||||||
|
|
||||||
|
# for building factor
|
||||||
|
clang
|
||||||
|
git
|
||||||
|
curl
|
||||||
|
binutils
|
||||||
|
]);
|
||||||
|
runScript = "bash";
|
||||||
|
}).env
|
Loading…
Reference in New Issue