Reformat nix source file using nixfmt
This commit is contained in:
parent
2e4a532958
commit
9201969c1b
220 changed files with 3169 additions and 2487 deletions
|
|
@ -5,28 +5,29 @@
|
|||
perl,
|
||||
symlinkJoin,
|
||||
srcs,
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
inherit (srcs) spotx;
|
||||
spotifyx = spotify.overrideAttrs (_final: prev: {
|
||||
nativeBuildInputs =
|
||||
prev.nativeBuildInputs
|
||||
++ [
|
||||
spotifyx = spotify.overrideAttrs (
|
||||
_final: prev: {
|
||||
nativeBuildInputs = prev.nativeBuildInputs ++ [
|
||||
unzip
|
||||
zip
|
||||
perl
|
||||
];
|
||||
spotx = spotx.src;
|
||||
postUnpack = ''
|
||||
cp $spotx/spotx.sh ./spotx.sh
|
||||
chmod +x ./spotx.sh
|
||||
patchShebangs --build ./spotx.sh
|
||||
'';
|
||||
postInstall = ''
|
||||
./spotx.sh -P $out/share/spotify -h
|
||||
'';
|
||||
});
|
||||
spotx = spotx.src;
|
||||
postUnpack = ''
|
||||
cp $spotx/spotx.sh ./spotx.sh
|
||||
chmod +x ./spotx.sh
|
||||
patchShebangs --build ./spotx.sh
|
||||
'';
|
||||
postInstall = ''
|
||||
./spotx.sh -P $out/share/spotify -h
|
||||
'';
|
||||
}
|
||||
);
|
||||
in
|
||||
symlinkJoin {
|
||||
name = "spotifyx";
|
||||
paths = [spotifyx];
|
||||
}
|
||||
symlinkJoin {
|
||||
name = "spotifyx";
|
||||
paths = [ spotifyx ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue