Compare commits

..

1 Commits

Author SHA1 Message Date
coolneng 3d8e0fe114
Bump nixpkgs revision 2021-07-06 17:26:52 +02:00
3 changed files with 0 additions and 34 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
*.fastq *.fastq
result

View File

@ -1,22 +0,0 @@
{ sources ? import ./nix/sources.nix, pkgs ? import sources.nixpkgs { } }:
with pkgs;
let
srcNoTarget = dir:
builtins.filterSource
(path: type: type != "directory" || builtins.baseNameOf path != "target")
dir;
src = srcNoTarget ./.;
in stdenv.mkDerivation {
name = "locigenesis";
phases = "installPhase";
installPhase = ''
mkdir -p $out/bin
cp -r ${src}/src $out
cp -r ${src}/data/*.rds $out
cp ${src}/generation.sh $out
'';
}

View File

@ -1,11 +0,0 @@
{ sources ? import ./nix/sources.nix, pkgs ? import sources.nixpkgs { } }:
with pkgs;
let locigenesis = pkgs.callPackage ./default.nix { };
in dockerTools.buildImage {
name = "akasroua/locigenesis";
contents = [ locigenesis ];
config.Entrypoint = [ "${locigenesis}/bin/generation.sh" ];
}