on master help sign in
static: Fix static.out symlink generation in raw files case
commit2c992edcaab8ca59775061d4c93c5c2614ee83e4 authorAli Abrar <aliabrar@gmail.com> dateFri 1 Jan 2021, 23:33 (6 years ago) parent148864d
1 file changed+1−1
lib/command/src/Obelisk/Command/Project.hs+1−1
lib/command/src/Obelisk/Command/Project.hs+1−1
@@ -386,7 +386,7 @@ findProjectAssets root = do
386386 path <- readProcessAndLogStderr Debug $ setCwd (Just root) $
387387 proc nixExePath ["eval", "-f", ".", "passthru.staticFilesImpure", "--raw"]
388388 _ <- readProcessAndLogStderr Debug $ setCwd (Just root) $
389− proc lnPath ["-s", "-f", T.unpack path, "static.out"]
389+ proc lnPath ["-sf", T.unpack path, "./static.out"]
390390 pure path
391391
392392-- | Get the nix store path to the generated static asset manifest module (e.g., "obelisk-generated-static")