Skip to content

skhd: init at 0.0.10#36351

Merged
LnL7 merged 1 commit intoNixOS:masterfrom
LnL7:skhd
Mar 8, 2018
Merged

skhd: init at 0.0.10#36351
LnL7 merged 1 commit intoNixOS:masterfrom
LnL7:skhd

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 GrahamcOfBorg added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label Mar 5, 2018
@GrahamcOfBorg GrahamcOfBorg added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Mar 5, 2018
@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 Issues or PRs affecting NixOS modules, or package usability issues specific to 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

Labels

6.topic: darwin Running or building packages on Darwin 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants