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

skhd: init at 0.0.10 #36351

Merged
merged 1 commit into from Mar 8, 2018
Merged

skhd: init at 0.0.10 #36351

merged 1 commit into from Mar 8, 2018

Conversation

LnL7
Copy link
Member

@LnL7 LnL7 commented Mar 5, 2018

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • macOS
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘skhd-0.0.10’ in /var/lib/gc-of-borg/nix-test-rs-28/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-28/pkgs/os-specific/darwin/skhd/default.nix:28 is not supported on ‘aarch64-linux’, 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.

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Partial log (click to expand)

Package ‘skhd-0.0.10’ in /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/builder-0-gustav.ewr1.nix.ci/pkgs/os-specific/darwin/skhd/default.nix:28 is not supported on ‘x86_64-linux’, 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.

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

installing
install flags: install SHELL=/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash BUILD_PATH=\$\(out\)/bin
rm -rf /nix/store/cql8ca1h9fai4lixz03mhn2vngvg4va9-skhd-0.0.10/bin
mkdir -p /nix/store/cql8ca1h9fai4lixz03mhn2vngvg4va9-skhd-0.0.10/bin
clang src/skhd.c -std=c99 -O3 -framework Carbon -o /nix/store/cql8ca1h9fai4lixz03mhn2vngvg4va9-skhd-0.0.10/bin/skhd
post-installation fixup
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/cql8ca1h9fai4lixz03mhn2vngvg4va9-skhd-0.0.10/bin
patching script interpreter paths in /nix/store/cql8ca1h9fai4lixz03mhn2vngvg4va9-skhd-0.0.10
/nix/store/cql8ca1h9fai4lixz03mhn2vngvg4va9-skhd-0.0.10

@LnL7 LnL7 added 6.topic: darwin Running or building packages on Darwin and removed 6.topic: nixos labels Mar 5, 2018
@LnL7 LnL7 merged commit 697847b into NixOS:master Mar 8, 2018
@LnL7 LnL7 deleted the skhd branch March 8, 2018 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants