summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Debootstrap.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-19 21:16:18 -0400
committerJoey Hess2014-11-19 21:16:18 -0400
commit205d1925598f986dd4ce679e17e487c089592ff3 (patch)
tree68cfd6ceb438e4dc4fa658270b2c4e6605a1487b /src/Propellor/Property/Debootstrap.hs
parent4de7d4295c91b07b1338db2114b9557b5353a978 (diff)
fix param order
Diffstat (limited to 'src/Propellor/Property/Debootstrap.hs')
-rw-r--r--src/Propellor/Property/Debootstrap.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Propellor/Property/Debootstrap.hs b/src/Propellor/Property/Debootstrap.hs
index 23dabcf6..ed851d97 100644
--- a/src/Propellor/Property/Debootstrap.hs
+++ b/src/Propellor/Property/Debootstrap.hs
@@ -45,9 +45,9 @@ built target system@(System _ arch) extraparams =
Nothing -> errorMessage $ "don't know how to debootstrap " ++ show system
Just s -> pure s
let params = extraparams ++
- [ Param suite
+ [ Param $ "--arch=" ++ arch
+ , Param suite
, Param target
- , Param $ "--arch=" ++ arch
]
cmd <- fromMaybe "debootstrap" <$> programPath
ifM (boolSystem cmd params)