mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
flake: fix style
This commit is contained in:
parent
67f991e2bc
commit
0d922a482d
1 changed files with 6 additions and 6 deletions
12
flake.nix
12
flake.nix
|
@ -25,12 +25,12 @@
|
|||
passAsFile = ["buildPhase"];
|
||||
buildPhase = ''
|
||||
mkdir -p $out/bin $out/share/disko
|
||||
cp -r $src/* $out/share/disko
|
||||
sed \
|
||||
-e "s|libexec_dir=\".*\"|libexec_dir=\"$out/share/disko\"|" \
|
||||
-e "s|#!/usr/bin/env.*|#!/usr/bin/env bash|" \
|
||||
$src/disko > $out/bin/disko
|
||||
chmod 755 $out/bin/disko
|
||||
cp -r $src/* $out/share/disko
|
||||
sed \
|
||||
-e "s|libexec_dir=\".*\"|libexec_dir=\"$out/share/disko\"|" \
|
||||
-e "s|#!/usr/bin/env.*|#!/usr/bin/env bash|" \
|
||||
$src/disko > $out/bin/disko
|
||||
chmod 755 $out/bin/disko
|
||||
'';
|
||||
args = ["-c" ". $buildPhasePath"];
|
||||
src = inclFiles { inherit name; src = ./.; } [
|
||||
|
|
Loading…
Reference in a new issue