Skip to content

Commit

Permalink
makeBtrfs: add scope hack
Browse files Browse the repository at this point in the history
  • Loading branch information
lheckemann committed Jun 18, 2021
1 parent 10000ed commit f6a8c83
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/image-builder/makeBtrfs.nix
@@ -1,4 +1,7 @@
{ lib, imageBuilder, libfaketime, btrfs-progs }:

/* */ let scope = { "fileSystem.makeBtrfs" =

{ partitionID, ... }@args:
imageBuilder.makeFilesystem (args // {
filesystemType = "btrfs";
Expand All @@ -13,3 +16,5 @@ imageBuilder.makeFilesystem (args // {
"$img"
'';
})

/* */ ;}; in scope."fileSystem.makeBtrfs"

0 comments on commit f6a8c83

Please sign in to comment.