www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

flake.nix (705B)


      1 {
      2   description = "";
      3   inputs = {
      4     nixpkgs-git.url = https://github.com/NixOS/nixpkgs/archive/58c19a2b0bbf75e68b1946460737c3f8a74b0f33.tar.gz;
      5   };
      6   outputs = { nixpkgs-git, ... }@inputs : {
      7    defaultPackage.x86_64-linux =
      8      let system = "x86_64-linux"; in
      9      let nixpkgs = import nixpkgs-git { config = { allowUnfree = true;}; system = system; }; in
     10 
     11      let mypackages = with nixpkgs; [ coreutils python3 sqlite gawk git file bash bashInteractive gnutar gzip gnugrep gnused ]; in
     12 
     13      with import nixpkgs-git { system = "x86_64-linux"; };
     14      symlinkJoin {
     15        name = "mypackages";
     16        paths = lib.lists.unique mypackages;
     17        postBuild = ''echo "links created"'';
     18      };
     19   };
     20 }