~vonfry/omnetpp-nix

ref: cd1d560403aa35fc37a1e110c6b893f8fca03505 omnetpp-nix/readme.org -rw-r--r-- 1.3 KiB
cd1d5604Vonfry readme: update todo and add flake description 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
* OMNeT++ Nix

  Build OMNeT++ with Nix.

  Note: Here are some problem to run. It can be built and run for some projects,
  but the build binary is not cleaned up.

** Usage
   The [[file:./default.nix][default.nix]] is a packed of omnetpp with IDE. But
   this file is a function instead of a drv directly.
*** Flake
    Add this repo as inputs and import the packages you wanted.
*** Legacy
    N.B. This method will be removed in the future.

    The [[file:./pkgs.nix][pkgs.nix]] is a collection of drvs in this repo. It
    imports `<nixpkgs>` by default. So you can use it simply by nix-env or
    nixpkgs.fetchers with this repo's url.

    This package is uploaded on [[https://app.cachix.org/cache/omnetpp-nix][cachix]], you can take a look.


** Package List
   - [[file:default.nix][omnetpp]]
     + [[file:osgearth.nix][osgearth]]
     + akaroa - not free, so it is not packed by default.
   - [[file:inet.nix][INET]] - [[https://inet.omnetpp.org/][website]]
   - [[file:keetchi.nix][keetchi]] - [[https://github.com/ComNets-Bremen/KeetchiLib][repo]]
   - [[file:ops.nix][OPS]] - [[https://github.com/ComNets-Bremen/OPS][repo]]

* Known Issue
** NED_PATH, OMNETPP_IMAGE_PATH and other variables
   You have to set them by yourself with wrapProgram or use omnetpp cli
   arguments.