Browse Source

guix env

master
Ivan Polyakov 3 years ago
parent
commit
16f39c944a
  1. 3
      config.mk
  2. 24
      guix.scm
  3. 11
      manifest.scm

3
config.mk

@ -21,6 +21,7 @@ LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
`$(PKG_CONFIG) --libs freetype2` `$(PKG_CONFIG) --libs freetype2`
# flags # flags
CFLAGS += -std=c99
STCPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 STCPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS) STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS)
STLDFLAGS = $(LIBS) $(LDFLAGS) STLDFLAGS = $(LIBS) $(LDFLAGS)
@ -32,4 +33,4 @@ STLDFLAGS = $(LIBS) $(LDFLAGS)
# `$(PKG_CONFIG) --libs freetype2` # `$(PKG_CONFIG) --libs freetype2`
# compiler and linker # compiler and linker
# CC = c99 CC = gcc

24
guix.scm

@ -0,0 +1,24 @@
;;; st - simple terminal
;;; See LICENSE file for copyright and license details.
(use-modules (guix packages)
(guix download)
(guix git-download)
(guix gexp)
(guix build-system gnu)
(gnu packages suckless))
(define %source-dir (dirname (current-filename)))
(define vilor-st
(package
(inherit st)
(name "vilor-st")
(version "git")
(source (local-file %source-dir
#:recursive? #t
#:select? (git-predicate %source-dir)))
(home-page "https://notabug.org/vilor/st")
(synopsis "Patched and configured st 0.8.5")))
vilor-st

11
manifest.scm

@ -0,0 +1,11 @@
;;; st - simple terminal
;;; See LICENSE file for copyright and license details.
(specifications->manifest
'("bash-minimal"
"coreutils"
"pkg-config"
"gcc-toolchain"
"libxft"
"libx11"
"make"))
Loading…
Cancel
Save