1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
module Options.Packages where
import Types
packagesOptions :: [Flag]
packagesOptions =
[ flag { flagName = "-this-unit-id ⟨P⟩"
, flagDescription = "Compile to be part of unit (i.e. package) ⟨P⟩"
, flagType = DynamicFlag
}
, flag { flagName = "-package ⟨P⟩"
, flagDescription = "Expose package ⟨P⟩"
, flagType = DynamicSettableFlag
}
, flag { flagName = "-hide-all-packages"
, flagDescription = "Hide all packages by default"
, flagType = DynamicFlag
}
, flag { flagName = "-hide-package ⟨name⟩"
, flagDescription = "Hide package ⟨P⟩"
, flagType = DynamicSettableFlag
}
, flag { flagName = "-ignore-package ⟨name⟩"
, flagDescription = "Ignore package ⟨P⟩"
, flagType = DynamicSettableFlag
}
, flag { flagName = "-package-db ⟨file⟩"
, flagDescription = "Add ⟨file⟩ to the package db stack."
, flagType = DynamicFlag
}
, flag { flagName = "-clear-package-db"
, flagDescription = "Clear the package db stack."
, flagType = DynamicFlag
}
, flag { flagName = "-no-global-package-db"
, flagDescription = "Remove the global package db from the stack."
, flagType = DynamicFlag
}
, flag { flagName = "-global-package-db"
, flagDescription = "Add the global package db to the stack."
, flagType = DynamicFlag
}
, flag { flagName = "-no-user-package-db"
, flagDescription = "Remove the user's package db from the stack."
, flagType = DynamicFlag
}
, flag { flagName = "-user-package-db"
, flagDescription = "Add the user's package db to the stack."
, flagType = DynamicFlag
}
, flag { flagName = "-no-auto-link-packages"
, flagDescription = "Don't automatically link in the base and rts packages."
, flagType = DynamicFlag
}
, flag { flagName = "-trust ⟨P⟩"
, flagDescription = "Expose package ⟨P⟩ and set it to be trusted"
, flagType = DynamicSettableFlag
}
, flag { flagName = "-distrust ⟨P⟩"
, flagDescription = "Expose package ⟨P⟩ and set it to be distrusted"
, flagType = DynamicSettableFlag
}
, flag { flagName = "-distrust-all"
, flagDescription = "Distrust all packages by default"
, flagType = DynamicSettableFlag
}
, flag { flagName = "-package-env ⟨file⟩|⟨name⟩"
, flagDescription = "Use the specified package environment."
, flagType = DynamicFlag
}
]
|