Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergei-mironov/urweb-build
Build system for Ur/Web projects, written in Nix expression language
https://github.com/sergei-mironov/urweb-build
Last synced: 3 months ago
JSON representation
Build system for Ur/Web projects, written in Nix expression language
- Host: GitHub
- URL: https://github.com/sergei-mironov/urweb-build
- Owner: sergei-mironov
- Created: 2016-02-08T10:29:00.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-11T13:48:19.000Z (over 7 years ago)
- Last Synced: 2024-08-22T22:31:31.660Z (6 months ago)
- Language: Nix
- Size: 442 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-urweb - urweb-build - Build system for Ur/Web projects, written in Nix expression language (Package Management)
README
Urweb-Build
-----------This repository contains base expression for building
[Ur/Web](http://impredicative.com/ur/)
projects using nix-build tool. For the complex usage example, see
[urweb-fviewer project](https://github.com/grwlf/urweb-fviewer)Install
-------0. Install [Nix](http://nixos.org/nix/) package manager. You may like it so much,
it will be the last package manager for you to install. The installation provides
you with the `nix-build` tool and the `/nix/store` package collection.
Note, that it is surely possible to install Nix on computers running common
Linux distribution like Ubuntu. Installation of NixOS distribution is not
required.1. Clone the project and its submodule
```
$ git clone https://github.com/grwlf/urweb-build
$ cd urweb-build
$ git submodule update --init
```2. Add the urweb-build directory to your NIX\_PATH. This will allow Nix to
interpret instructions like `import {}` correctly.
```
export NIX_PATH="$NIX_PATH:urweb-build=/path/to/urweb-build"
```Now it should be possible to build compatible Ur/Web projects by moving to
project directory and typing `nix-build` or `nix-build build.nix` depending on
the file name of project Nix-expression. Build results are typically accessed by
following the `./result` symlink.