Introduce createSourcesPhase in nsff, fix formatting, add comment

This commit is contained in:
Reinout Meliesie 2025-03-15 14:43:23 +01:00
parent 45791b4e34
commit f70c0d689a
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
2 changed files with 15 additions and 14 deletions

View file

@ -1,7 +1,4 @@
{
pkgs ,
stdenv ,
} :
{ pkgs , stdenv } :
with pkgs ;
with stdenv ;
@ -13,6 +10,7 @@ mkDerivation {
phases = [ "createSourcesPhase" "installPhase" ] ;
createSourcesPhase = ''
# Same directory structure that `unpackPhase` would use
mkdir -p /build/source
cat <<- EOF > /build/source/journalctl-last-invocation