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
braincurses: init at 1.1.0 #31562
braincurses: init at 1.1.0 #31562
Conversation
857dea3
to
7dab82b
Compare
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.
I'm not sure how to play it, but it works. All good, ready to merge!
pkgs/games/braincurses/default.nix
Outdated
|
||
# There is no install target in the Makefile | ||
installPhase = '' | ||
install -D braincurses $out/bin/braincurses |
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.
Could be even shorter :-)
install -Dt $out/bin braincurses
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.
Thanks for the hint! I've shortened it.
7dab82b
to
ebd064b
Compare
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.
Builds and runs
@GrahamcOfBorg build braincurses |
It won't because of |
@GrahamcOfBorg build braincurses |
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.
Success for system: x86_64-linux
100 427k 100 427k 0 0 427k 0 0:00:01 --:--:-- 0:00:01 1388k
fetching path ‘/nix/store/ii0mqp0gl2vhdvnq1zvsnrabvf9ld20d-braincurses-1.1.0’...
*** Downloading ‘https://cache.nixos.org/nar/0pwbfvkqkg4krn2616587v0pg7k2y1h3dg0x2iyj0i3l7swdf4l2.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/ii0mqp0gl2vhdvnq1zvsnrabvf9ld20d-braincurses-1.1.0’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 15340 100 15340 0 0 15340 0 0:00:01 --:--:-- 0:00:01 109k
/nix/store/ii0mqp0gl2vhdvnq1zvsnrabvf9ld20d-braincurses-1.1.0
@dotlambda Try to build it with |
@yegortimoshenko It does. Do you think I should set |
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.
Failure for system: x86_64-darwin
error: Package ‘braincurses-1.1.0’ in /tmp/nix-ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/31562/pkgs/games/braincurses/default.nix:23 is not supported on ‘x86_64-darwin’, refusing to evaluate.
a) For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)