Skip to content

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