aboutsummaryrefslogblamecommitdiff
path: root/src/xyz/euandreh/posix.scm
blob: cfc8e2eaeba5300f663dea28ab9ed0e75dfe873b (plain) (tree)





















                                                                      
(define-module (xyz euandreh posix)
  #:use-module (guix packages)
  #:use-module (guix utils)
  #:use-module (gnu packages c))

(define-public tcc-c99
  (package
    (inherit tcc)
    (name "posix-c99")
    (arguments
     `(,@(ensure-keyword-arguments
          (package-arguments tcc)
          `(#:phases
            (modify-phases %standard-phases
              (add-after 'install 'ln-alias
                (lambda* (#:key outputs #:allow-other-keys)
                  (let ((out (assoc-ref outputs "out")))
                    (symlink (string-append out "/bin/tcc")
                             (string-append out "/bin/c99"))))))))))))

(list
  tcc-c99)