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

nixfmt-rfc-style #1879

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions cli.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ pkgs ? import <nixpkgs> { }
, lib ? pkgs.lib
{
pkgs ? import <nixpkgs> { },
lib ? pkgs.lib,
}:
let
inherit (pkgs) python3;
Expand Down Expand Up @@ -34,9 +35,11 @@ pkgs.stdenv.mkDerivation {
# need to remap this to be consistent with `pkgs.lib.getBin` "standard"
mv poetry2nix $out/bin/${pname}

wrapProgram $out/bin/${pname} --prefix PATH ":" ${lib.makeBinPath [
pkgs.nix-prefetch-git
]}
wrapProgram $out/bin/${pname} --prefix PATH ":" ${
lib.makeBinPath [
pkgs.nix-prefetch-git
]
}

runHook postInstall
'';
Expand Down
Loading
Loading