diff options
author | Andrew Cady <d@jerkface.net> | 2020-05-30 11:27:14 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-05-30 11:27:20 -0400 |
commit | 3267d4e1180a4c65026e759bf267c905aa221ad5 (patch) | |
tree | acee8775ac8dd32a99ac9e43850215a9755a7dde | |
parent | da79ab440b5d672b011859beaa11b4325aa69294 (diff) |
force rebuilds when files referenced in '*.yaml' change
-rw-r--r-- | fsmgr.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -100,6 +100,7 @@ buildRoot config@DiskImageConfig{..} finalOut = do | |||
100 | {- 3. binaries -} | 100 | {- 3. binaries -} |
101 | let go b = do | 101 | let go b = do |
102 | p <- fromMaybe (fail $ "not found in ${PATH}: " ++ b) <$> liftIO (pathLocate b) | 102 | p <- fromMaybe (fail $ "not found in ${PATH}: " ++ b) <$> liftIO (pathLocate b) |
103 | need [p] | ||
103 | cmd_ "cp -L" [p] [mountpoint </> "usr/local/bin" </> takeFileName b] | 104 | cmd_ "cp -L" [p] [mountpoint </> "usr/local/bin" </> takeFileName b] |
104 | in do | 105 | in do |
105 | forM_ (unpack <$> binaries) go | 106 | forM_ (unpack <$> binaries) go |