summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index dd065cf..c2039b7 100644
--- a/flake.nix
+++ b/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 = ./.; } [