on master help sign in
Move profiledObRun to __unstable__ attr
commit46accb430cac13da47cbef59255546b9399c936c authorMatthew Bauer <mjbauer95@gmail.com> dateFri 21 Feb 2020, 15:44 (7 years ago) parent8a2e1ab
3 files changed+3−3
all-builds.nix+1−1 default.nix+1−1 lib/command/src/Obelisk/Command/Run.hs+1−1
all-builds.nix+1−1
@@ -68,7 +68,7 @@ let
6868 iosSkeleton = (import ./skeleton { inherit obelisk; }).ios.frontend;
6969 nameSuffix = if profiling then "profiled" else "unprofiled";
7070 packages = {
71− skeletonProfiledObRun = skeleton.profiledObRun;
71+ skeletonProfiledObRun = skeleton.__unstable__.profiledObRun;
7272 inherit
7373 command
7474 serverSkeletonShell
default.nix+1−1
@@ -375,7 +375,7 @@ in rec {
375375 dummyVersion = "Version number is only available for deployments";
376376 in mainProjectOut // {
377377
378− profiledObRun = let
378+ __unstable__.profiledObRun = let
379379 profiled = projectOut { inherit system; enableLibraryProfiling = true; };
380380 exeSource = builtins.toFile "ob-run.hs" ''
381381 module Main where
lib/command/src/Obelisk/Command/Run.hs+1−1
@@ -97,7 +97,7 @@ profile profileBasePattern rtsFlags = withProjectRoot "." $ \root -> do
9797 & nixBuildConfig_outLink .~ OutLink_None
9898 & nixCmdConfig_target .~ Target
9999 { _target_path = Just "."
100− , _target_attr = Just "profiledObRun"
100+ , _target_attr = Just "__unstable__.profiledObRun"
101101 , _target_expr = Nothing }
102102 assets <- findProjectAssets root
103103 putLog Debug $ "Assets impurely loaded from: " <> assets