File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 188188 in mkIf ( mountPoints != [ ] )
189189 ( ( lib . concatMapStringsSep "\n " ( mountPoint : "mkdir -p ${ mountPoint } " ) mountPoints ) + "\n " ) ;
190190
191- unpackScript = ( lib . optionalString config . enable ''
191+ unpackScript = ''
192+ #
193+ # ${ config . src } → ${ config . relpath }
194+ #
195+ ''
196+ + ( lib . optionalString config . enable ''
192197 mkdir -p ${ config . relpath }
193198 ${ pkgs . utillinux } /bin/mount --bind ${ config . src } ${ config . relpath }
194199 '' )
269274 inherit ( config . source . manifest ) rev sha256 ;
270275 } ) ;
271276
272- unpackScript = lib . concatMapStringsSep "\n " ( d : d . unpackScript ) ( lib . attrValues config . source . dirs ) ;
277+ unpackScript = ''
278+ (
279+ PS4=" $ "
280+ set -x
281+ '' + lib . concatMapStringsSep "\n " ( d : d . unpackScript ) ( lib . attrValues config . source . dirs )
282+ + ''
283+ )
284+ '' ;
273285 } ;
274286
275287 config . build = {
You can’t perform that action at this time.
0 commit comments