<p>the download is an installer. Running the installer will put an executable in <code>~/.local/bin/</code>.</p>
<p>When I ran this executable I got an error. It's expecting a file <code>/etc/localtime</code> which I don't have and seems that it isnt standard on nixos.</p>
<p>You can edit this script (<code>~/.local/bin/daedalus-marlowe_pioneers</code>) to work around this.
On line 9 perform the following diff.</p>
<pre><code>- cat /etc/localtime &gt; etc/localtime
+ echo &quot;TZif2UTCTZif2UTC\rUTC0&quot; &gt; etc/localtime
</code></pre>
<p>This sets it to utc. I got this off another linux machine</p>
<p>I haven't done any more than launch the app. It does however now launch</p>

CC BY-SA 4.0
2022-05-31T19:51:54.397Z
Thanks. I was looking for a way to install it declaritively. NixOS generations are a (re)configuration feature I'm loving.
DeCentN2Madness
CC BY-SA 4.0
2022-05-31T19:59:06.433Z
By the way, I think you can set your timezone in `/etc/nixos/configuration.nix` and it will place that localtime link for you. I put `time.timeZone = "America/Phoenix";` into the config of a fresh NixOS install, and a link `localtime -> /etc/zoneinfo/America/Phoenix` is now found in `/etc`.
DeCentN2Madness
CC BY-SA 4.0
2022-06-01T08:58:05.647Z
Given that the binary is not available from a standard repo, you cannot do this with ease afaik.
(Like you can with, say, firefox or a project on github setup for nixos).  

Cheers for the headsup on timezone
waalge
CC BY-SA 4.0
2022-05-31T17:47:05.990Z
2022-05-31T17:47:05.990Z
waalge
<p>To enhance my education during the <strong>Marlowe Pioneers</strong> program (with simultaneous <strong>Emurgo Haskell Dev Pro</strong> course), I've been running <strong>NixOS</strong> as my daily driver for full immersion over the past two weeks or so (and <em>loving</em> it).</p>
<p>My google-foo is failing me regarding a declarative installation of the provided <code>daedalus-4.10.0-marlowe_pioneers-21765.bin</code>. While I'd prefer somehow declaring it globally in <code>/etc/nixos/configuration.nix</code> for now, alternative solutions are more than welcome.</p>

<daedalus><nix><nixos><marlowe-pioneer-program>
How to install the Marlowe Pioneers Daedalus bin in NixOS?
# How to install the Marlowe Pioneers Daedalus bin in NixOS?

(Asked by: username_0 on 2022-05-31)

To enhance my education during the **Marlowe Pioneers** program (with simultaneous **Emurgo Haskell Dev Pro** course), I've been running **NixOS** as my daily driver for full immersion over the past two weeks or so (and *loving* it).

My google-foo is failing me regarding a declarative installation of the provided `daedalus-4.10.0-marlowe_pioneers-21765.bin`. While I'd prefer somehow declaring it globally in `/etc/nixos/configuration.nix` for now, alternative solutions are more than welcome.

**Tags:** daedalus, nix, nixos, marlowe-pioneer-program

---

## 1 answers

### Answer by username_1 on 2022-05-31. Score: 1

the download is an installer. Running the installer will put an executable in ~/.local/bin/.
When I ran this executable I got an error. It's expecting a file /etc/localtime which I don't have and seems that it isnt standard on nixos.
You can edit this script (~/.local/bin/daedalus-marlowe_pioneers) to work around this.
On line 9 perform the following diff.
- cat /etc/localtime > etc/localtime
+ echo "TZif2UTCTZif2UTC\rUTC0" > etc/localtime

This sets it to utc. I got this off another linux machine
I haven't done any more than launch the app. It does however now launch

> **Comments:**
> **username_0**: Thanks. I was looking for a way to install it declaritively. NixOS generations are a (re)configuration feature I'm loving.  
> **username_0**: By the way, I think you can set your timezone in `/etc/nixos/configuration.nix` and it will place that localtime link for you. I put `time.timeZone = "America/Phoenix";` into the config of a fresh NixOS install, and a link `localtime -> /etc/zoneinfo/America/Phoenix` is now found in `/etc`.  
> **username_1**: Given that the binary is not available from a standard repo, you cannot do this with ease afaik. (Like you can with, say, firefox or a project on github setup for nixos).    Cheers for the headsup on timezone  

---

