File tree 5 files changed +130
-1
lines changed
5 files changed +130
-1
lines changed Original file line number Diff line number Diff line change
1
+ * .deb filter =lfs diff =lfs merge =lfs - text
Original file line number Diff line number Diff line change 20
20
awesome = awesome-luajit-git ;
21
21
} ;
22
22
23
+ # packages included at `../repo`
24
+ monorepoOverlays = _ : prev : {
25
+ fmodstudio = prev . callPackage ../repo/fmodstudio.nix { } ;
26
+ } ;
27
+
23
28
miscOverlays = _ : prev : let
24
29
inherit ( prev ) system ;
25
30
inherit ( inputs ) cutefetch ;
51
56
awmOverlay
52
57
fontsOverlays
53
58
miscOverlays
59
+ monorepoOverlays
54
60
] ;
55
61
}
Original file line number Diff line number Diff line change
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fa065e4e70d2272fba3d4b693e9705fb1d0fdbf53d0ae6ca4acf001a13f62c8
3
+ size 133227448
Original file line number Diff line number Diff line change
1
+ {
2
+ lib ,
3
+ stdenv ,
4
+ dpkg ,
5
+ makeWrapper ,
6
+ buildFHSEnv ,
7
+ fetchurl ,
8
+ ...
9
+ } : let
10
+ system = "x86_64-linux" ;
11
+ version = "2.02.22" ;
12
+
13
+ # this comes with lfs in this repository.
14
+ src = ../misc/fmodstudio20222linux64-installer.deb ;
15
+ in stdenv . mkDerivation rec {
16
+ pname = "fmodstudio20222linux64-installer" ;
17
+
18
+ inherit
19
+ version
20
+ system
21
+ src
22
+ ;
23
+
24
+ nativeBuildInputs = [
25
+ makeWrapper
26
+ dpkg
27
+ ] ;
28
+
29
+ fhsEnv = buildFHSEnv {
30
+ name = "${ pname } -fhs-env" ;
31
+ runScript = "" ;
32
+
33
+ targetPkgs = pkgs : with pkgs ; [
34
+ xorg . libXrandr
35
+ xdg-utils
36
+ gsettings-desktop-schemas
37
+ hicolor-icon-theme
38
+ fontconfig
39
+ freetype
40
+ lsb-release
41
+ ] ;
42
+
43
+ multiPkgs = pkgs : with pkgs ; [
44
+ cups
45
+ gtk3
46
+ expat
47
+ libxkbcommon
48
+ alsa-lib
49
+ nss
50
+ libdrm
51
+ mesa
52
+ nspr
53
+ atk
54
+ dbus
55
+ at-spi2-core
56
+ pango
57
+ libva
58
+ openssl
59
+ cairo
60
+ libnotify
61
+ libuuid
62
+ udev
63
+ libappindicator
64
+ wayland
65
+ cpio
66
+ icu
67
+ libpulseaudio
68
+ libglvnd
69
+ glib
70
+ gdk-pixbuf
71
+ libxml2
72
+ zlib
73
+ clang
74
+ git
75
+ gnome2 . GConf
76
+ libcap
77
+ ] ++ ( with pkgs . xorg ; [
78
+ libXcomposite
79
+ libXext
80
+ libXdamage
81
+ libXfixes
82
+ libxcb
83
+ libxshmfence
84
+ libXScrnSaver
85
+ libXtst
86
+ libX11
87
+ libXcursor
88
+ libXi
89
+ libXrender
90
+ ] ) ;
91
+ } ;
92
+
93
+ unpackCmd = "dpkg -x $curSrc src" ;
94
+
95
+ dontConfigure = true ;
96
+ dontBuild = true ;
97
+
98
+ installPhase = ''
99
+ runHook preInstall
100
+
101
+ mkdir -p $out
102
+ mv opt/ usr/share/ $out
103
+
104
+ makeWrapper ${ fhsEnv } /bin/${ pname } -fhs-env $out/opt/fmodstudio/fmodstudio.wrapped \
105
+ --add-flags $out/opt/fmodstudio/fmodstudio \
106
+ --argv0 fmodstudio.wrapped
107
+
108
+ mkdir -p $out/bin
109
+ ln -s $out/opt/fmodstudio/fmodstudio.wrapped $out/bin/fmodstudio
110
+
111
+ substituteInPlace $out/share/applications/fmodstudio.desktop \
112
+ --replace /opt/fmodstudio/fmodstudio $out/opt/fmodstudio/fmodstudio.wrapped
113
+
114
+ runHook postInstall
115
+ '' ;
116
+ }
117
+
Original file line number Diff line number Diff line change 1
1
{ pkgs , ...} : {
2
2
home . packages = with pkgs ; [
3
+ unityhub
4
+ fmodstudio
3
5
github-cli
6
+ git-lfs
4
7
slack
5
8
rofi
6
9
pavucontrol
12
15
htop
13
16
firefox
14
17
maim
15
- unityhub
16
18
vlc
17
19
clang
18
20
clang-tools
You can’t perform that action at this time.
0 commit comments