File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change 8
8
9
9
outputs =
10
10
{ self , nixpkgs , flakeutils } :
11
- flakeutils . lib . eachDefaultSystem ( system :
12
- let pkgs = nixpkgs . legacyPackages . ${ system } ; in
13
- {
14
- packages = rec {
15
- st = pkgs . stdenv . mkDerivation {
16
- name = "st" ;
17
- src = ./. ;
18
- buildInputs = [
19
- pkgs . gcc pkgs . pkg-config pkgs . xorg . libX11 pkgs . xorg . libXft pkgs . ncurses pkgs . hack-font
20
- ] ;
21
- buildPhase = ''
11
+ flakeutils . lib . eachDefaultSystem ( system :
12
+ let pkgs = nixpkgs . legacyPackages . ${ system } ; in
13
+ {
14
+ packages = rec {
15
+ st = pkgs . stdenv . mkDerivation {
16
+ name = "st" ;
17
+ src = ./. ;
18
+ buildInputs = [
19
+ pkgs . gcc pkgs . pkg-config pkgs . xorg . libX11 pkgs . xorg . libXft pkgs . ncurses pkgs . hack-font
20
+ ] ;
21
+ buildPhase = ''
22
22
make
23
23
'' ;
24
- installPhase = ''
24
+ installPhase = ''
25
25
TERMINFO="$out" make install DESTDIR="$out" PREFIX=""
26
26
'' ;
27
- } ;
28
- default = st ;
29
27
} ;
30
- apps = rec {
31
- st = flakeutils . lib . mkApp { drv = self . packages . ${ system } . st ; } ;
32
- default = st ;
33
- } ;
34
- }
35
- ) ;
28
+ default = st ;
29
+ } ;
30
+ apps = rec {
31
+ st = flakeutils . lib . mkApp { drv = self . packages . ${ system } . st ; } ;
32
+ default = st ;
33
+ } ;
34
+ }
35
+ ) ;
36
36
}
You can’t perform that action at this time.
0 commit comments