-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not build package which contains external dependencies #321
Comments
This is likely because the racket2nix package catalog hasn't been updated for 2–3 years. I'll have a look!
30 Jan 2023 23:45:48 corpix ***@***.***>:
… Given following *info.rkt*:
#lang info
(define collection "corpix")
(define deps '("racket" "net-ip"))
(define build-deps '("scribble-lib" "racket-doc" "rackunit-lib"))
(define scribblings '(("scribblings/firewalld.scrbl" ())))
(define pkg-desc "Rule based firewall daemon")
(define version "0.0")
(define pkg-authors '(corpix))
(define license '(Unlicense))
(define racket-launcher-names '("firewalld"))
(define racket-launcher-libraries '("firewalld.rkt"))
And *default.nix*:
{ pkgs ? import <nixpkgs> {}
, racket2nix ? pkgs.fetchFromGitHub {
owner = "fractalide"; repo = "racket2nix";
rev = "59c614406d4796f40620f6490b0b05ecb51ed976";
sha256 = "0z5y1jm60vkwvi66q39p88ygkgyal81486h577gikmpqjxkg9d6i"; }
}:
with import racket2nix { };
buildRacketPackage ./.
Can not build package because of unsatisfied external dependency:
* ~/projects/src/git.backbone/corpix/racket/firewalld λ nix build -f . (3s 520ms)
error: builder for '/nix/store/idyan8sw7spp22is2868jgazl2y5vdgr-racket-package.nix.drv' failed with exit code 1;
last 2 log lines:
> Invalid catalog: Package firewalld has unresolved dependency net-ip.
>
For full logs, run 'nix log /nix/store/idyan8sw7spp22is2868jgazl2y5vdgr-racket-package.nix.drv'.
(use '--show-trace' to show detailed location information)
*
How to use *racket2nix* to build a package with external depndencies?
—
Reply to this email directly, view it on GitHub[#321], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AABQUDHSB767E7DIGPOUEITWVBABRANCNFSM6AAAAAAULXAQG4].
You are receiving this because you are subscribed to this thread.[Tracking image][https://github.com/notifications/beacon/AABQUDEWBNOGJTQTTI5JOWDWVBABRA5CNFSM6AAAAAAULXAQG6WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHF2LTXJI.gif]
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given following
info.rkt
:And
default.nix
:Can not build package because of unsatisfied external dependency:
How to use
racket2nix
to build a package with external depndencies?The text was updated successfully, but these errors were encountered: