mirror of
https://gitlab.com/manzerbredes/paper-lowrate-iot.git
synced 2025-05-16 20:37:43 +00:00
Simplify nix source code
This commit is contained in:
parent
bc6b033b0b
commit
f9d8e59ebb
9 changed files with 57 additions and 58 deletions
|
@ -1,18 +0,0 @@
|
|||
{ stdenv, ns3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
##### Configure NIX #####
|
||||
name="simulator";
|
||||
src=./src;
|
||||
|
||||
##### Export ns3 location #####
|
||||
NS3_PATH=ns3;
|
||||
|
||||
##### Configure Phases #####
|
||||
buildPhase=''make'';
|
||||
installPhase=''
|
||||
mkdir -p $out/bin
|
||||
install -D -t $out/bin simulator
|
||||
'';
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue