We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf37b44 commit 8bba327Copy full SHA for 8bba327
nix_wrapper.sh
@@ -1,8 +1,6 @@
1
#!/usr/bin/bash
2
3
root_dir="$(dirname $0)"
4
-cmd="python3 `dirname $0`/funscript-editor.py $@"
5
-echo "cmd: $cmd" > /tmp/mtfg-nix.log
6
-echo "dir: $root_dir" >> /tmp/mtfg-nix.log
7
-# cd $root_dir && nix-shell --run "$cmd" >> /tmp/mtfg-nix.log 2>&1
8
-cd $root_dir && nix develop --command $cmd >> /tmp/mtfg-nix.log 2>&1
+cmd="python3 `dirname $0`/funscript-editor.py"
+echo "dir: $root_dir" > /tmp/mtfg-nix.log
+cd $root_dir && nix develop --command $cmd "$@" >> /tmp/mtfg-nix.log 2>&1
shell.nix
@@ -50,4 +50,8 @@ in
50
screeninfo
51
]))
52
];
53
+
54
+ shellHook = ''
55
+ export QT_QPA_PLATFORM="xcb"
56
+ '';
57
}
0 commit comments