Skip to content

Commit

Permalink
move to flake
Browse files Browse the repository at this point in the history
  • Loading branch information
ekg committed May 29, 2024
1 parent cbedc8f commit e2df9c8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 65 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,22 @@ Note that this may make the tool a little bit slower.

### nix

If you have `nix`, build and installation in your profile are as simple as:
If you have `nix`, you can install directly from the repository via:

```shell
nix-build && nix-env -i ./result
nix profile install github:waveygang/wfmash
```

For local development, from the wfmash repo directory:

```shell
nix build .#wfmash
```

And you can install into your profile from the source repo with:

```shell
nix profile install .#wfmash
```

### guix
Expand All @@ -192,7 +204,7 @@ guix build -f guix.scm
Nix is also able to build an Docker image, which can then be loaded by Docker and converted to a Singularity image.

```
nix-build docker.nix
nix build .#dockerImage
docker load < result
singularity build wfmash.sif docker-daemon://wfmash-docker:latest
```
Expand Down
5 changes: 0 additions & 5 deletions default.nix

This file was deleted.

15 changes: 0 additions & 15 deletions docker.nix

This file was deleted.

42 changes: 0 additions & 42 deletions wfmash.nix

This file was deleted.

0 comments on commit e2df9c8

Please sign in to comment.