Skip to content
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

Added sv-lang version 7.0 and sv-bugpoint #69

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

HU90m
Copy link
Member

@HU90m HU90m commented Nov 14, 2024

Draft because it depends requires a patch to sv-bugpoint, which may be merged upstream reasonably soon.

@HU90m HU90m marked this pull request as ready for review November 22, 2024 12:59
@HU90m HU90m requested a review from nbdd0121 November 22, 2024 13:00
Comment on lines +31 to +32
"-DFETCHCONTENT_SOURCE_DIR_FMT=${fmt_10.src.outPath}"
"-DFETCHCONTENT_SOURCE_DIR_CATCH2=${catch2_3.src.outPath}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"-DFETCHCONTENT_SOURCE_DIR_FMT=${fmt_10.src.outPath}"
"-DFETCHCONTENT_SOURCE_DIR_CATCH2=${catch2_3.src.outPath}"
"-DFETCHCONTENT_SOURCE_DIR_FMT=${fmt_10.src}"
"-DFETCHCONTENT_SOURCE_DIR_CATCH2=${catch2_3.src}"

Comment on lines +28 to +29
"-DFETCHCONTENT_SOURCE_DIR_SLANG=${sv-lang.src.outPath}"
"-DFETCHCONTENT_SOURCE_DIR_FMT=${fmt_10.src.outPath}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"-DFETCHCONTENT_SOURCE_DIR_SLANG=${sv-lang.src.outPath}"
"-DFETCHCONTENT_SOURCE_DIR_FMT=${fmt_10.src.outPath}"
"-DFETCHCONTENT_SOURCE_DIR_SLANG=${sv-lang.src}"
"-DFETCHCONTENT_SOURCE_DIR_FMT=${fmt_10.src}"

stdenv.mkDerivation {
pname = "sv-bugpoint";
# take the first 10 characters of the revision
version = builtins.head (builtins.match "(.{10}).*" rev);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the latest convention in nixpkgs when a package has no version itself is to use 0-unstable-<DATE>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants