Dhall packages are provided as an overlay
This commit is contained in:
parent
ac854eb047
commit
7454a3f237
@ -6,15 +6,6 @@ path:
|
||||
packages:
|
||||
|
||||
let
|
||||
xmonadDeps = with dhallPackages;
|
||||
buildDhallDirectoryPackage {
|
||||
name = "xmonad-masser";
|
||||
src = "${xmonad-masser}/share/x86_64-linux-ghc-9.0.2/xmonad-masser-0.1.0.0/dhall";
|
||||
file = "package.dhall";
|
||||
source = false;
|
||||
document = false;
|
||||
dependencies = [ (Prelude.overridePackage { file = "package.dhall"; }) ];
|
||||
};
|
||||
xmonadInput = runCommand "packages.dhall"
|
||||
packages
|
||||
''
|
||||
@ -23,7 +14,7 @@ let
|
||||
xmonadConfig = with dhallPackages; buildDhallPackage {
|
||||
name = "xmonad.dhall";
|
||||
code = xmonadInput;
|
||||
dependencies = [ Prelude xmonadDeps ];
|
||||
dependencies = [ Prelude xmonad-masser-dhall ];
|
||||
source = true;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user