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

swaycwd: init at 0.0.1 #117176

Merged
merged 1 commit into from Mar 28, 2021
Merged

swaycwd: init at 0.0.1 #117176

merged 1 commit into from Mar 28, 2021

Conversation

cab404
Copy link
Member

@cab404 cab404 commented Mar 22, 2021

Motivation for this change

Added swaycwd — xcwd for sway.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

pkgs/tools/wayland/swaycwd/default.nix Outdated Show resolved Hide resolved
pkgs/tools/wayland/swaycwd/default.nix Outdated Show resolved Hide resolved
pkgs/tools/wayland/swaycwd/default.nix Outdated Show resolved Hide resolved
pkgs/tools/wayland/swaycwd/default.nix Outdated Show resolved Hide resolved
@r-rmcgibbo
Copy link

r-rmcgibbo commented Mar 22, 2021

Result of nixpkgs-review pr 117176 at 6deee9bc run on aarch64-linux 1

1 package built successfully:
  • swaycwd
3 suggestions:
  • warning: missing-phase-hooks

    buildPhase should probably contain runHook preBuild and runHook postBuild.

    Near pkgs/tools/wayland/swaycwd/default.nix:24:5:

       |
    24 |     buildPhase = ''
       |     ^
    
  • warning: missing-phase-hooks

    configurePhase should probably contain runHook preConfigure and runHook postConfigure.

    Near pkgs/tools/wayland/swaycwd/default.nix:15:5:

       |
    15 |     configurePhase = ''
       |     ^
    
  • warning: missing-phase-hooks

    installPhase should probably contain runHook preInstall and runHook postInstall.

    Near pkgs/tools/wayland/swaycwd/default.nix:29:5:

       |
    29 |     installPhase = ''
       |     ^
    

Result of nixpkgs-review pr 117176 at 6deee9bc run on x86_64-linux 1

1 package built successfully:
  • swaycwd
3 suggestions:
  • warning: missing-phase-hooks

    buildPhase should probably contain runHook preBuild and runHook postBuild.

    Near pkgs/tools/wayland/swaycwd/default.nix:24:5:

       |
    24 |     buildPhase = ''
       |     ^
    
  • warning: missing-phase-hooks

    configurePhase should probably contain runHook preConfigure and runHook postConfigure.

    Near pkgs/tools/wayland/swaycwd/default.nix:15:5:

       |
    15 |     configurePhase = ''
       |     ^
    
  • warning: missing-phase-hooks

    installPhase should probably contain runHook preInstall and runHook postInstall.

    Near pkgs/tools/wayland/swaycwd/default.nix:29:5:

       |
    29 |     installPhase = ''
       |     ^
    

pkgs/tools/wayland/swaycwd/default.nix Outdated Show resolved Hide resolved
Copy link
Contributor

@fogti fogti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bot already mentioned this. Hooks should be called in all defined phases here (e.g. configurePhase, buildPhase, installPhase)

pkgs/tools/wayland/swaycwd/default.nix Outdated Show resolved Hide resolved
pkgs/tools/wayland/swaycwd/default.nix Outdated Show resolved Hide resolved
@fogti
Copy link
Contributor

fogti commented Mar 23, 2021

nitpick: indention of the *Phase blocks is currently mostly 4 spaces, but I think it might be better if the indention was consistently 2 spaces.

@fogti
Copy link
Contributor

fogti commented Mar 23, 2021

You should apply the suggestions of SuperSandro and then squash all the commits in this PR.

@cab404
Copy link
Member Author

cab404 commented Mar 23, 2021

Thanks for the help!

@cab404
Copy link
Member Author

cab404 commented Mar 24, 2021

@r-rmcgibbo

Co-authored-by: zseri <zseri.devel@ytrizja.de>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
@SuperSandro2000
Copy link
Member

Your repo is no longer available.

@cab404
Copy link
Member Author

cab404 commented Mar 27, 2021

Your repo is no longer available.

@SuperSandro2000 Are you sure that's wasn't a temporary GitLab outage? Just checked, everything seems fine.

@SuperSandro2000
Copy link
Member

Your repo is no longer available.

@SuperSandro2000 Are you sure that's wasn't a temporary GitLab outage? Just checked, everything seems fine.

I searched for it on GitHub... 🤦🏼

@SuperSandro2000 SuperSandro2000 merged commit 3f350a4 into NixOS:master Mar 28, 2021
@cab404 cab404 deleted the swaycwd branch June 2, 2021 16:17
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

4 participants