diff options
| author | Joey Hess <joeyh@joeyh.name> | 2018-05-03 12:25:48 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2018-05-03 12:25:48 -0400 |
| commit | 8f4a01225dbaf4d3f68ad0d94edab3f7650250ad (patch) | |
| tree | f08f8e3e79e813ba132c7195a62868ba17e829a6 /doc/forum/5.3.5_import_errors | |
| parent | 543aa510790b7b91c0c7dfc13fe41d8c80bc1f77 (diff) | |
| parent | 94653981cab8a9e0640a8ce3eee54a186479c1e5 (diff) | |
Merge branch 'master' into joeyconfig
Diffstat (limited to 'doc/forum/5.3.5_import_errors')
| -rw-r--r-- | doc/forum/5.3.5_import_errors/comment_2_32d521dad51ada52e98c9540ab97add6._comment | 21 | ||||
| -rw-r--r-- | doc/forum/5.3.5_import_errors/comment_3_a4774959fd93039d49196e7cff232089._comment | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/doc/forum/5.3.5_import_errors/comment_2_32d521dad51ada52e98c9540ab97add6._comment b/doc/forum/5.3.5_import_errors/comment_2_32d521dad51ada52e98c9540ab97add6._comment new file mode 100644 index 00000000..6edd05d7 --- /dev/null +++ b/doc/forum/5.3.5_import_errors/comment_2_32d521dad51ada52e98c9540ab97add6._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2018-04-30T13:24:30Z" + content=""" +Seems this must be caused by [[!commit d8d2faece72eabd18c2ff303e5fb63c3a69961f6]] + +And I guess you've modified the config.hs in propellor +for your own systems? + +You will indeed need to add dependencies to the cabal stanza for +propellor-config. + +I think that you may be able to add Other-Modules: Utility.FileMode +to the cabal stanza for propellor-config and get access to the unexported +module that way. Not 100% sure. + +I'm curious: Is there part of propellor's published modules that made you +need something from Utility.FileMode to use it, or were you writing your +own property and happened to use something from Utility.FileMode? +"""]] diff --git a/doc/forum/5.3.5_import_errors/comment_3_a4774959fd93039d49196e7cff232089._comment b/doc/forum/5.3.5_import_errors/comment_3_a4774959fd93039d49196e7cff232089._comment new file mode 100644 index 00000000..c861f1cc --- /dev/null +++ b/doc/forum/5.3.5_import_errors/comment_3_a4774959fd93039d49196e7cff232089._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="picca" + avatar="http://cdn.libravatar.org/avatar/7e61c80d28018b10d31f6db7dddb864c" + subject="comment 3" + date="2018-05-01T07:07:54Z" + content=""" +* Do you think that I should use a dedicated config-soleil.hs file instead of the config.hs file ? + +* I use the combinesModes in order to set the right mode. + + +rra :: Property UnixLike + +rra = fetch `onChange` execmode + + where + + fetch :: Property UnixLike + + fetch = property \"install rra scripts\" + + (liftIO $ toResult <$> download \"https://archives.eyrie.org/software/devel/backport\" \"/usr/local/bin/backport\") + + + + execmode :: Property UnixLike + + execmode = File.mode \"/usr/local/bin/backport\" (combineModes (ownerWriteMode:readModes ++ executeModes)) + +"""]] |
