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
scopes: init #61209
scopes: init #61209
Conversation
I built and ran "hello world" with this, but I don't know the scopes lang so I didn't seriously test it. |
Not ready yet, It won't find the libc headers on Linux. Working on it. |
I think it should build now on Linux and Darwin. |
@GrahamcOfBorg eval Not sure what the exact current status of this is, but some feedback I see at first glance:
|
I marked this as stale due to inactivity. → More info |
|
||
nativeBuildInputs = [ genie spirv-tools spirv-cross ]; | ||
|
||
buildInputs = [ llvm clang-unwrapped ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't those also native build inputs?
}) | ||
]; | ||
|
||
makefile = "Makefile"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be required for nix.
install -d $out/bin | ||
install -d $out/lib | ||
cp bin/scopes $out/bin | ||
cp bin/lib* $out/lib | ||
cp -R lib/* $out/lib/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
install -d $out/bin | |
install -d $out/lib | |
cp bin/scopes $out/bin | |
cp bin/lib* $out/lib | |
cp -R lib/* $out/lib/ | |
install -Dm755 bin/scopes $out/bin | |
install -d $out/lib | |
cp bin/lib* $out/lib | |
cp -R lib/* $out/lib/ |
meta = { | ||
description = "Retargetable programming language & infrastructure"; | ||
homepage = http://scopes.rocks; | ||
license = stdenv.lib.licenses.mit; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maintainers and platforms missing.
name = "spirv-cross-${version}"; | ||
version = "2019-04-26"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name = "spirv-cross-${version}"; | |
version = "2019-04-26"; | |
pname = "spirv-cross"; | |
version = "2019-04-26"; |
|
||
meta = with stdenv.lib; { | ||
inherit (src.meta) homepage; | ||
description = "Parse and convert SPIR-V to other shader languages"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maintainers and platforms missing.
) | ||
|
||
echoCmd 'configure flags' "${flagsArray[@]}" | ||
genie "${flagsArray[@]}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move this file into the nix file.
I marked this as stale due to inactivity. → More info |
Hello, @jacereda, any updates on this? |
I'm exploring the Guix land and can't fix this, sorry. Feel free to take over or close. |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)